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:
A simple way to hide your wordpress website until launch.
A simple way to hide your wordpress website until launch.
Recently I had to revamp a website for a client. The website was using Word Press to power it and so I had to do some template editing that would make the website look very broken while I was experimenting. What I did was stop Word Press from running at all unless a get request happened.
Difficulty:
Building a live news blogging system in php. Spiced with HTML5, CSS3 and jQuery [part III]
Building a live news blogging system in php. Spiced with HTML5, CSS3 and jQuery [part III]
A series of tutorials on building a live news blogging system. Developed using HTML5, CSS3, jQuery, XML for front end and php and jsp for backend. In this third part we create methods to add new news items to our database.
Difficulty:
The use of subtr() function
The use of subtr() function
A short tutorial on using the substr() function as well as the strlen() function. Here are a few strange and creative uses.
Difficulty:
How To: Detect and Prevent YELLING in PHP
How To: Detect and Prevent YELLING in PHP
Learn how to detect text submitted in all UPPERCASE using PHP and how to handle it.
Difficulty:
Remove NoFollow From Comments In WordPress
Remove NoFollow From Comments In WordPress
Great little function to remove nofollow attribute from comments in wordpress. No need to use the dofollow plugin anymore, this is faster.
Difficulty:
Dynamic Super Global Variables
Dynamic Super Global Variables
You can do pretty amazing things with PHP as a language. PHP has a concept dubbed variable variables, which pretty much refers to defining variables dynamically. So how can we use variable variables with PHP Super Global Variables? The PHP manual states that you cannot, but in fact you can and I am going to show you how now.
Difficulty:
Building a live news blogging system in php. Spiced with HTML5, CSS3 and jQuery [demo]
Building a live news blogging system in php. Spiced with HTML5, CSS3 and jQuery [demo]
Awesome demo of a series of tutorials on building a live blogging system with php, htm5, css3, jquery and mysql.
Difficulty:
Allow Contributors To Upload Files In WordPress
Allow Contributors To Upload Files In WordPress
Wordpress doesn’t allow “contributors” to upload files, so here is a little code that will allow them to do that.
Difficulty:
Image Resizing Made Easy with PHP
Image Resizing Made Easy with PHP
Ever wanted an all purpose, easy to use method of resizing your images in PHP? Well that’s what PHP classes are for – reusable pieces of functionality that we call to do the dirty work behind the scenes. We’re going to learn how to create our own class that will be well constructed, as well as expandable. Resizing should be easy. How easy? How about three steps!
Difficulty:
Anonymous Functions And Their Usage In PHP
Anonymous Functions And Their Usage In PHP
With the release of PHP 5.3, the use of anonymous functions was finally introduced into the PHP language. Yet, most PHP developers are keen to admit that they do not know what they are or how they are meant to be used. In this tutorial, I hope to address both of those questions using variation of examples that use and do not use anonymous functions.
Difficulty:
Adding Custom Widgets To WordPress Admin Dashboard
Adding Custom Widgets To WordPress Admin Dashboard
Either you are building a wordpress powered website for a client or yourself, the dashboard is the first place the administrator gets to after login, so customizing the widgets there can be very useful. Here is how you can add your own widgets to the dashboard.
Difficulty:
 Replacing a string using php
Replacing a string using php
Simple code to replace a string using a very simple approach. You cant do this with ereg_replace, but you can with preg_replace.
Difficulty:
Get youtube video screenshot using simple php and javascript
Get youtube video screenshot using simple php and javascript
Simple script to get the screenshot of a particular URL from youtube,
Difficulty:
Simple PHP mail Script
Simple PHP mail Script
The script will simply send a mail to the e-mail id you provide in the coresponding field i have given, just check this out
Difficulty:
Neural Networks in PHP
Neural Networks in PHP
This article explains the concepts of Neural Networks and how to use Neural Mesh to utilize them.
Difficulty:
Total Tutorials in Category: 4426