Getting started with PHP sessions
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...
View ArticleCommon PHP session errors
Lists some of the common problems faced while using sessions in PHP and how to deal with them.
View ArticlePHP MySQL Basics Tutorial
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...
View ArticlePHP MySQL Login Script
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.
View ArticleOrganize project through include files
A tutorial on how to use a include files to organize your PHP project.
View ArticlePrevent Duplicate Form Submission
Learn how to use PHP sessions to prevent duplicate form submission or re-submission.
View ArticleHandling forms in PHP
A simple tutorial on handling forms in PHP. More often than not, this the first stumbling block for most PHP beginners.
View ArticlePHP FTP functions tutorial
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.
View ArticleSending emails in PHP & email injection attacks
Learn to send HTML emails in PHP using the mail() function. Also learn how to prevent email injections or PHP mail form spam.
View ArticlePHP Pagination Class
PS_Pagination is a flexible and easy to implement PHP pagination script which can help you split large result sets over multiple pages.
View ArticleTruncate long string along word boundaries
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.
View ArticleeAccelerator based PHP hosting
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.
View ArticleFive tips for PHP newbies
Five things you should do (or not do) when you are starting out with PHP.
View ArticlePHP cURL functions tutorial
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...
View ArticleSubmitting forms using PHP cURL
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.
View ArticlePHP Encryption Class
Simple PHP encryption class to encrypt/decrypt data. Easy to implement and understand.
View Article