PHP Scripts, Tutorials and Code

Welcome to the PHP developers section of Web Development Blog. You’ll find many of my popular PHP classes and scripts here as well as free support for using them on your own websites or applications. You’ll also find an active community of developers sharing ideas and discussing each of the PHP classes, PHP scripts, login scripts and PHP forms. There’s also PHP tutorials, PHP snippets and script reviews. 
I invite you to join the conversation as we all work together to build stronger and better sites for ourselves and our clients. As always, your feedback and suggestions are welcome and greatly appreciated.

How-to create a PHP Password Generator

Do you need a PHP password generator function for your user registration application or do you have to write a new script for your web

Ajax file upload in modal window

This PHP / jQuery tutorial explains how-to upload a file PHP from ThickBox and how after successful upload the filename is passed to the parent document. The function is a useful addition for custom content management systems.

Gmail logo

Sending e-mails via SMTP with PHPMailer and GMail

Using the SMTP server from Gmail is a good choice for a e-mail application with less than 500 recipients a day. This tutorial shows you how to send e-mail messages via SMTP using PHPmailer and Gmail.

Useful Plugins for your bbPress Forum

To support our PHP script users we’ve used bbpress in the past. bbpress is a great peace of software and is based on WordPress, that will say

Modifiers in regular expression patterns

We all like REGEX patterns, because it’s a great way to select, filter or replace strings, numbers or complete code blocks. How about PCRE modifiers,

Image manipulations with Imagemagick

A very powerful tool for creating and manipulating images is ImageMagick. With this tools you can create drawings, modify existing images or just process images.

Count clicks the right way!

If you own a link list or directory where the listings are ranked (on some page) on the number of outgoing hits, you’re possible victim

PHP Scripts and Classes

This are my (older) PHP classes I’ve written for my website on

PHP Upload Script

Upload photos and other files with this easy to use and free PHP upload class script. Several example scripts are included.

PHP Attachment Mailer Class

PHP class handles multiple attachment e-mails using html and the mime mail standard

PHP Login: Access_user Class

Easy to use PHP class to protect pages and register new users

PHP Whois script

Check domain names for different TLD’s against a whois database

Counter & visitor statistics

Easy to use system to track users and visitor statistics

PHP Shopping Cart script (DB_cart)

This universal shopping cart script is powered by MySQL and works with external customer and product data.

Validate form fields Script

PHP form field validation for string, date, URL and number values

PHP Pagination Class

Use this PHP class to execute your MySQL recordset and create some page navigation links extremely easy.

TemplateMonster XML API Script

Import template data from the TemplaterMonster XML API into your MySQL database