Subscribe
Tutorial search

PHP Tutorials


We hope that you will enjoy our PHP tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own PHP tutorial to our site. Thank you !

Sort by:
Php includes and nav
Php includes and nav
Learn the advantages of using a php include system, and learn to write a php active state navigation function while your at it!
Difficulty:
Create an RSS Feed using PHP
Create an RSS Feed using PHP
Create your own rss feed using this free source code
Difficulty:
Building a Fair and Convincing Banner Rotator
Building a Fair and Convincing Banner Rotator
How to build such a banner rotator that will not only show them randomly but will ensure that your Advertisers will see it when they refresh the page few times.
Difficulty:
Create Your Own Image to Change The Default Gravatar in Wordpress
Create Your Own Image to Change The Default Gravatar in Wordpress
Wordpress provides some images to choose as the default gravatar, this gravatar will be appear if a comment doesn’t have gravatar. Can we change these default gravatar? We want our comment section is unique and give a more personalized touch. In this tutorial we’ll take a custom image and add it as the default gravatar.
Difficulty:
Simple syntax highlight of other .php file
Simple syntax highlight of other .php file
This is most simple way to display source code of other .php file with highlighting
Difficulty:
PHP Caching Headers
PHP Caching Headers
Yesterday I looked at how to control browser caching with Apache's mod_expires and today look at how to set the caching/expiry time with headers in PHP to either make sure the resulting data is never cached by the browser, or is cached for a set amount of time.
Difficulty:
Learn PHP Quickly
Learn PHP Quickly
Learn PHP in less than 10 steps with practical examples provided for every lesson. Sample code is also available.
Difficulty:
Simple admin login over form
Simple admin login over form
This is simple tutorial to show you how to validate user with user and pass and start session if both is correct
Difficulty:
Different "read more" links for different categories (wordpress)
Different "read more" links for different categories (wordpress)
As you can see on wpcanyon, the “read more” links have different text depending on the category of the posts. Here is how to do that.
Difficulty:
Beginning PHP Part 1: Working with Variables
Beginning PHP Part 1: Working with Variables
Getting a basic familiarity with PHP is not difficult, but if you don’t understand a few key elements you will find it difficult to work with. This beginning PHP tutorial attempts to break down a few of the core PHP programming elements through simple examples and descriptions.
Difficulty:
Removing Junk From WordPress Head Section
Removing Junk From WordPress Head Section
Wordpress is adding unnecessary stuff in the head, here is a function that will remove that junk.
Difficulty:
Create a simple guestbook
Create a simple guestbook
Learn how to create a simple guestbook using PHP programming language.
Difficulty:
How to handle URLs in PHP
How to handle URLs in PHP
URL handling is one of the tasks you have to do from time to time in PHP. Sometimes you have to do it because you want to record the referral sites, other times because you want to write your own spider or just because you want to retrieve your current URL.
Difficulty:
How to Write a PHP Script to Run Shell Commands from Browser
How to Write a PHP Script to Run Shell Commands from Browser
It happens pretty often for me to have to run shell commands in a hosting environment. I do it all the time via a simple php script. I tested it on godaddy and dreamhost and on other hostings environments and it works fine.
Difficulty:
How to Identify Duplicate and Similar Text in Php
How to Identify Duplicate and Similar Text in Php
The most simple thing you can try is to simply compare the 2 strings. A simple comparison will not help if one of the strings are contains an extra space. A more serious algorithm should be used for such cases. Fortunately php provides us several functions that can be used.
Difficulty:
Total Tutorials in Category: 4426