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.

Parse html with preg_match and preg_match_all

For the most of the web developer which are using the function preg_match, is the function preg_match_all a smaller advantage, but for all others it’s maybe

PHP Download File

PHP download file script

This is my favorite PHP download script. I’ve used a different more simple method until a client wanted to be able to allow their site

Dynamic menu in PHP

Create a dynamic menu in PHP

The creation of a dynamic menu with a nested un-ordered list without using any JavaScript code is sometimes a problem because the script needs to

PHP add array

Add values to arrays in PHP

Like in other programming and scripting languages, PHP arrays are used to store data used in your application or script. The most common case is

Ajax file upload PHP / jQuery Tutorial

The asynchronous file upload, using some XMLHttpRequest (Ajax), is technically not possible. Most JavaScript examples and tutorials call this method still Ajax upload and the

PHP Scripts and Classes

This are my (older) PHP classes I’ve written for my website on finalwebsites.com:

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