Quantcast
Channel: PHPSense.com » jatinder
Browsing all 17 articles
Browse latest View live

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 Article


Common PHP session errors

Lists some of the common problems faced while using sessions in PHP and how to deal with them.

View Article


PHP 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 Article

PHP 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 Article

Organize project through include files

A tutorial on how to use a include files to organize your PHP project.

View Article


Prevent Duplicate Form Submission

Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

View Article

Handling 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 Article

PHP 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 Article


Sending 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 Article


PHP 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 Article

Truncate 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 Article

Handling file uploads in PHP

Easy to follow tutorial on handling file uploads in PHP.

View Article

eAccelerator 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 Article


Five tips for PHP newbies

Five things you should do (or not do) when you are starting out with PHP.

View Article

PHP 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 Article


Submitting 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 Article

PHP Encryption Class

Simple PHP encryption class to encrypt/decrypt data. Easy to implement and understand.

View Article

Browsing all 17 articles
Browse latest View live