PHP 5 Tutorials

How to add leading zeros to a number in PHP

For formatting purposes you may need to add few leading zeros sometimes.

Added about 1 year ago – In PHP 5

How to check if an email address is valid in PHP

Added about 1 year ago – In PHP 5

How to detect a specific search engine crawler

How you can detect a search engine crawler, for example the google bot.

Added about 1 year ago – In PHP 5

Adding user avatars on a blog/website

How can you add avatars for your users in a very simple way? This article shows how to do it using the gravatar service.

Added about 1 year ago – In PHP 5

Adding a horizontal line after a Zend Framework form element

In a Zend_Form object, if you want to separate a few fields visually, here's how you can do it using a horizontal line view helper.

Added about 1 year ago – In PHP 5, Zend Framework

How to find the last day of the month in PHP

When you are doing, for example, reports on months you need to know the last day of the month so you can calculate the needed timestamp (between the first and the last day).

Added about 1 year ago – In PHP 5

File uploads with Zend_Form_Element_File

Simple tutorial to learn how to upload files with Zend_Form and control better the name of the file and the destination folder

Added about 1 year ago – In PHP 5, Zend Framework

How to check if a time is inside a time interval using PHP

For example, you want to check if the current time (17:30) is inside a time interval (maybe a shop's opening hours, 08:00-17:00). Here is the solution.

Added about 1 year ago – In PHP 5

Singleton pattern in PHP

Want to optimize your web applications using the Singleton pattern? Learn here how.

Added about 1 year ago – In PHP 5

How does the ZF Front Controller throwExceptions setting influence its plugins

In this tutorial, you can understand the Zend Front Controller throwException setting.

Added about 1 year ago – In PHP 5, Zend Framework

Word wrap in PHP

Did you know that doing word wrap is PHP is really easy?

Added about 1 year ago – In PHP 5

Tips for increasing your PHP code maintainability

A collection of great tips & tricks for coders who wish to write maintainable code.

Added about 1 year ago – In PHP 5

Creating Thumbnails in PHP with gd2

How to create thumbnails in PHP with gd2

Added about 1 year ago – In PHP 5

Read a remote file using CURL

On some hosts the only way to read a remote file is using curl.

Added about 1 year ago – In PHP 5

File uploads in PHP

How to handle file uploads in PHP.

Added about 1 year ago – In PHP 5

Obtaining information about your PHP Installation with phpinfo()

Use phpinfo() to display HTML information about your PHP installation on your web server

Added about 1 year ago – In PHP 5

Locate your PHP Configuration file(s)

How to locate your PHP Configuration File (or files, if multiple .ini files are loaded).

Added about 1 year ago – In PHP 5

Enabling a PHP extension

Extensions add functionality and expose APIs to your PHP scripts. This tutorial explains how to enable an extension.

Added about 1 year ago – In PHP 5

Checking if your system has a PHP extension installed

Want to see if your PHP installation has a certain extension was enabled? Here's how to check...

Added about 1 year ago – In PHP 5

Image Resizing in PHP (Thumbnail creation)

Helps you create a PHP script that resizes photos you upload

Added about 1 year ago – In PHP 5

Obtaining the the file extension out of a file name

Added about 1 year ago – In PHP 5

Categories

Suggest a Category...

Tutorialpedia Needs More Tutorials!

We want to add more content! Do you have a cool tutorial idea you'd like to share? Click here:

Add Tutorial