PHPSense.com http://phpsense.com PHP Tutorials and PHP Scripts Thu, 11 Oct 2012 15:29:59 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 PHP Encryption Class http://phpsense.com/2012/php-encryption-class/ http://phpsense.com/2012/php-encryption-class/#comments Mon, 28 May 2012 17:47:03 +0000 jatinder http://phpsense.com/?p=154 http://phpsense.com/2012/php-encryption-class/feed/ 6 Submitting forms using PHP cURL http://phpsense.com/2009/submitting-forms-using-php-curl/ http://phpsense.com/2009/submitting-forms-using-php-curl/#comments Fri, 31 Jul 2009 04:30:22 +0000 jatinder http://67.23.245.79/~phpsense/?p=19 A tutorial on how to submit (POST) forms using PHP cURL. This technique proves to very useful when implementing payment gateways for e-commerce websites.

]]>
http://phpsense.com/2009/submitting-forms-using-php-curl/feed/ 1
PHP cURL functions tutorial http://phpsense.com/2007/php-curl-functions/ http://phpsense.com/2007/php-curl-functions/#comments Fri, 07 Sep 2007 08:41:28 +0000 jatinder http://67.23.245.79/~phpsense/?p=18 cURL is a library which allows you to connect and communicate to many different types of servers with many different types of protocols. Using cURL you can download files, upload files, login to other websites and submit forms.

]]>
http://phpsense.com/2007/php-curl-functions/feed/ 4
Five tips for PHP newbies http://phpsense.com/2007/five-tips-for-php-newbies/ http://phpsense.com/2007/five-tips-for-php-newbies/#comments Thu, 16 Aug 2007 01:49:16 +0000 jatinder http://67.23.245.79/~phpsense/?p=17 Five things you should do (or not do) when you are starting out with PHP.

]]>
http://phpsense.com/2007/five-tips-for-php-newbies/feed/ 4
eAccelerator based PHP hosting http://phpsense.com/2007/eaccelerator-based-php-hosting/ http://phpsense.com/2007/eaccelerator-based-php-hosting/#comments Sat, 28 Apr 2007 12:52:01 +0000 jatinder http://67.23.245.79/~phpsense/?p=15 Recently I signed up for a VPS plan hoping to try out my hands at managing my own server. Plus I wanted to use a PHP opcode cache like XCache or eAccelerator for my PHP sites.

]]>
http://phpsense.com/2007/eaccelerator-based-php-hosting/feed/ 1
Handling file uploads in PHP http://phpsense.com/2007/php-file-uploading/ http://phpsense.com/2007/php-file-uploading/#comments Sat, 17 Mar 2007 06:46:51 +0000 jatinder http://67.23.245.79/~phpsense/?p=16 Easy to follow tutorial on handling file uploads in PHP.

]]>
http://phpsense.com/2007/php-file-uploading/feed/ 0
Truncate long string along word boundaries http://phpsense.com/2007/php-word-splitter/ http://phpsense.com/2007/php-word-splitter/#comments Mon, 22 Jan 2007 22:11:14 +0000 jatinder http://67.23.245.79/~phpsense/?p=14 Use this simple PHP code snippet to truncate a long text string along word boundaries. Very useful for displaying a summary with specified number of words from a long text.

]]>
http://phpsense.com/2007/php-word-splitter/feed/ 0
PHP Pagination Class http://phpsense.com/2007/php-pagination-script/ http://phpsense.com/2007/php-pagination-script/#comments Tue, 16 Jan 2007 05:03:13 +0000 jatinder http://67.23.245.79/~phpsense/?p=13 PS_Pagination is a flexible and easy to implement PHP pagination script which can help you split large result sets over multiple pages.

]]>
http://phpsense.com/2007/php-pagination-script/feed/ 21
Sending emails in PHP & email injection attacks http://phpsense.com/2006/php-email-injection-attacks/ http://phpsense.com/2006/php-email-injection-attacks/#comments Sun, 15 Oct 2006 09:52:51 +0000 jatinder http://67.23.245.79/~phpsense/?p=12 Learn to send HTML emails in PHP using the mail() function. Also learn how to prevent email injections or PHP mail form spam.

]]>
http://phpsense.com/2006/php-email-injection-attacks/feed/ 2
PHP FTP functions tutorial http://phpsense.com/2006/php-ftp-functions/ http://phpsense.com/2006/php-ftp-functions/#comments Sun, 10 Sep 2006 19:31:20 +0000 jatinder http://67.23.245.79/~phpsense/?p=9 Learn to use PHP's FTP functions to create directories and files and change file mode. Also learn how to write data to configuration files in a more secure way.

]]>
http://phpsense.com/2006/php-ftp-functions/feed/ 4
Handling forms in PHP http://phpsense.com/2006/php-form-handling/ http://phpsense.com/2006/php-form-handling/#comments Sun, 06 Aug 2006 19:30:02 +0000 jatinder http://67.23.245.79/~phpsense/?p=8 A simple tutorial on handling forms in PHP. More often than not, this the first stumbling block for most PHP beginners.

]]>
http://phpsense.com/2006/php-form-handling/feed/ 2
Prevent Duplicate Form Submission http://phpsense.com/2006/prevent-duplicate-form-submission/ http://phpsense.com/2006/prevent-duplicate-form-submission/#comments Thu, 22 Jun 2006 19:28:51 +0000 jatinder http://67.23.245.79/~phpsense/?p=7 Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

]]>
http://phpsense.com/2006/prevent-duplicate-form-submission/feed/ 4
Organize project through include files http://phpsense.com/2006/php-includes/ http://phpsense.com/2006/php-includes/#comments Tue, 13 Jun 2006 19:27:15 +0000 jatinder http://67.23.245.79/~phpsense/?p=6 A tutorial on how to use a include files to organize your PHP project.

]]>
http://phpsense.com/2006/php-includes/feed/ 1
PHP MySQL Login Script http://phpsense.com/2006/php-login-script/ http://phpsense.com/2006/php-login-script/#comments Thu, 08 Jun 2006 19:23:55 +0000 jatinder http://67.23.245.79/~phpsense/?p=5 Login and user authentication is the most common feature in any dynamic website. Read this article to learn how to develop a login module of your own.

]]>
http://phpsense.com/2006/php-login-script/feed/ 43
PHP MySQL Basics Tutorial http://phpsense.com/2006/php-mysql/ http://phpsense.com/2006/php-mysql/#comments Sun, 28 May 2006 19:22:28 +0000 jatinder http://67.23.245.79/~phpsense/?p=4 PHP and MySql are the most common and popular combination you would come across on the Internet. Affordable Linux hosting, open source nature of these two technologies and the freedom from expensive proprietary licenses are the main reasons for the success of this combination.

]]>
http://phpsense.com/2006/php-mysql/feed/ 0
Common PHP session errors http://phpsense.com/2006/php-sessions-errors/ http://phpsense.com/2006/php-sessions-errors/#comments Mon, 22 May 2006 19:19:09 +0000 jatinder http://67.23.245.79/~phpsense/?p=1 Lists some of the common problems faced while using sessions in PHP and how to deal with them.

]]>
http://phpsense.com/2006/php-sessions-errors/feed/ 1
Getting started with PHP sessions http://phpsense.com/2006/php-sessions-basics/ http://phpsense.com/2006/php-sessions-basics/#comments Mon, 22 May 2006 19:16:38 +0000 jatinder http://67.23.245.79/~phpsense/?p=3 HTTP is a stateless protocol. That is, a HTTP request to a website has no information or record of the preceding requests. This is where sessions come into picture. Sessions is a mechanism to preserve data across subsequent accesses. Using sessions, a website is able to maintain state, that is, remember which requests they received previously. Without sessions, websites would have not have progressed beyond simple static HTML pages.

]]>
http://phpsense.com/2006/php-sessions-basics/feed/ 1