PHP

Login Script in PHP - Step by Step Guide

How to quickly install the PHP login script without any hassle in 15 steps.

Submitted by Luke Williams.

PHP Login Script - FAQ

Frequently asked and answered questions about the PHP login script and login scripts in general.

Make Your PHP Code Portable

Make sure your program can run on different PHP setups by distributing a custom environment setup. Expalins how to create the config and how to get your current configuration.

Add XML News Feeds to Your Site

A lot of sites now offer news feeds in XML format that you can use to fetch their news - the most common format is RSS (Rich Site Summary).

Remembering Non-Registered Visitors

Remember visitors' information entered on your site, using cookies, to save time if the same details are needed again.

Converting a Database Schema from MySQL to PostgreSQL

Port your database dump from MySQL to PostgreSQL easily with this PHP script, the article also explains how it works.

Create a Hierarchical Navigation Menu

How to create a hierarchical navigation menu which expends the current section.

Creating a Secure PHP Login Script

Explains how to create a secure PHP login script that will allow safe authentication. Features remember-me function using cookies, validates logins on each request to prevent session stealing.

How does this work

This is a short explanation why I have chosen these authentication methods.

Security Implications on Shared Hosts

Besides variables coming from query strings ($_GET), posted form data ($_POST), and cookies ($_COOKIE) you should treat session variables as tainted too if your site is on a shared ho

Why You Should Disable PHP's session use_trans_sid

PHP will add a unique PHPSESSID query pair to URIs within your site if cookies are not available and session.use_trans_sid is set.

Download Counting with Apache and PHP

Collect statistics on the popularity of your downloads with Apache's mod_rewrite and PHP.

Debug PEAR Based Scripts Easier

Error handling in PEAR can be used to make error messages on your development machine more verbose, while keeping them short for your visitors without much hassle.

PHP Style Switcher

Separate the content from presentation and let your visitors choose a color scheme for your site; uses PHP sessions.

Polls and Comments with PHP and MySQL

Create a poll voting and comments system with the help of PHP and MySQL. Explains in details the script and database design.

Use PHP and JavaScript to Display Local Time

How to display visitors' localtime using JavaScript and PHP without even asking them to select their timezone.

Sitemap and Navigation Bar

Sitemap and navigation bar system written in PHP 4.1 using PEAR::DB for database abstraction.

Syndicate content