PHP Tutorials

Newest First
Oldest First
Highest Rated
Most Popular
Random
PHP Object-Oriented Programming (OOP) Basics

PHP OOP organizes code with classes and objects, enabling reusable and scalable applications.

By DanielXP

PHP Error Handling

Learn to handle PHP errors effectively with reporting, custom handlers, and exceptions for robust applications

By AI

PHP Basics

This beginner's PHP tutorial covers essential concepts, including setting up a PHP environment, basic syntax, variables, data types, operators, control structures, functions, arrays, superglobals, and file handling. It's a practical guide for new developers to start building dynamic web applications with PHP.

By AI

[PHP IRC] Place item, get new random.

Adds a simple game to the bot :)

By ShadowMage

[PHP IRC] Bot authentication

Authenticate with the bot before allowing access to commands,

By ShadowMage

PHP IRC Bot

Connect to the network.

By ShadowMage

Basic File Upload System

Allow users to upload files to your website

By Dava

Constants

IDs for Values

By ilyas-shezad

Parsing a RSS feed

How to parse a RSS feed in PHP.

By DanielXP

How to use functions

What, how, where, when and why?

By ilyas-shezad

Guest Statistics

Shows Guest's IP and Browser

By ilyas-shezad

Ajax Chat

Instant and more interactive

By ilyas-shezad

PHP Switch

A easy code for a navigation

By Adam981

Make your own function

Making functions is easy, you should try it

By Jackboy

Creating a CAPTCHA

Useful for keeping bots away!

By Diablosblizz

Reading INI files with PHP

Read ini files with PHP!

By Diablosblizz

Validating Credit Cards

Validating Credit Cards quite advance. but you will get it.

By cyruswu

Advanced mySQL OOP Class

Query counter, execution Time

By ShadowMage

Creating A MySQL and PHP Registration Script

making a registration script and one other script to connect to the database.

By ilyas-shezad

Random banner

Pick random banners

By ilyas-shezad

MySQL and PHP commands

PHP functions for MySql

By ilyas-shezad

mySQL Class

a nice mySQL class to use with your website?

By ShadowMage

Count Spots

Like we used for our birthday competition.

By DanielXP

Updating Copyright

Make an updating copyright.

By cyruswu

RSS Feed

Simple :)

By ShadowMage

How to Use PHP GD to write Text

Simple script to write using GD

By gbt91

[GD]Create An Image With Text

Multiple Files used :P

By ShadowMage

Show Server Status

Show Port Stats for your server

By James

Random Ads

Show Your Ads with a simple script that randomly picks it

By gbt91

Browser Detector...

This simple script will detect Internet Explorer and Firefox.

By Diablosblizz

PHP Mail Part 2

Sending Mail to your Guests from your site!

By Diablosblizz

PHP Mail

Easy way for members to send email to you!

By Diablosblizz

Date + Time

learn the date and time with PHP

By ShadowMage

If, else and elseif

Learn about these 3 funtions.

By DanielXP

PHP Cookies

Learn how to use cookies in PHP.

By DanielXP

Basics of using Case's in PHP

A start into using Cases.

By Overload

Simple Session Login

this will allow you to create a simple session login system

By ShadowMage

Percent Complete

find out total percent

By ShadowMage

Explode Function - The Basic's

Using the explode funtion in PHP

By DanielXP

Easy way to use PHP + MySQL

Makes connecting and using MySQL easier!

By Xerofait

Word Filter

In this tutorial you will learn how to create a word filter.

By DanielXP

PHP Debugging Techniques

Find errors the easy way!

By chrism

PHP Navigation

Simple Switch

By chrism

View bytes as KB

Convert bytes to KB

By chrism

Password Protect Follow-up

My follow-up tutorial using kane0ner's password protect tutorial

By chrism

Password Protect

Learn how to create a simple password protected page in PHP. This tutorial covers defining credentials, checking login details, and displaying protected content securely.

By kane0ner

Getting started with MySQLi

Learn how to connect to a MySQL database using mysqli in PHP. This tutorial covers database setup via cPanel and secure connection methods.

By Joshua

PHP Forms

The PHP $_GET and $_POST superglobal variables are used to retrieve information from forms such as user input.

By Joshua

PHP Server Status using fsockopen

Display server status on your website with this PHP script. Check if a server is online or offline and show custom messages based on its availability. Simple to set up and fully customizable!

By Xerofait

Online Notepad

Create an online notepad using PHP to store and retrieve text in a .txt file. This tutorial is perfect for building a simple, functional text editor for your website.

By DanielXP

Basic Calculator in PHP

Simple calculator coded in PHP

By Nyaz

Basic PHP Hit Counter

Learn how to create a basic PHP hit counter to track visits to your web page. This tutorial provides a simple step-by-step guide for implementing and displaying page view counts using PHP.

By DanielXP