Php Tutorials
A PHP Tutorial is a great way to learn more coding strategies and principles of PHP. Below is our collection of PHP tutorials and articles where you should be able to find the PHP tutorial to suit your need. We have also included here some links to important areas of PHP development to help you with your coding. Also visit our PHP Scripts section for ready to use solutions to your application's needs.| » | A Simple PHP
Tutorial New to PHP? Get started with this tutorial. |
|
| » | PHP Functions Learn some commonly uses PHP functions. |
|
| » | PHP Cookies Learn how to use cookies with PHP |
|
| » | PHP Syntax Learn the basic syntax of the PHP language. |
|
| » | PHP Security Learn to secure you PHP applications. |
|
| » | PHP Expressions Learn how to manipulate PHP Expressions. |
![]() |
Writing A Simple Twitter Client Using the PHP Zend Framework's OAuth Library (Zend_Oauth) Oct 20th by Pádraic Brady
I finally got around to patching and finishing Zend_Oauth's Consumer implementation for the OAuth Core 1.0 Revision A specification. Once I had it finished, I used it to write a quick and simple interface to post some Tweets on Twitter while I was testing it out. In this article I'll explore how to writea quick Twitter... |
![]() |
Zend Framework Tutorial Aug 13th by Lyndon Baptiste
I find myself constantly bombarded with questions from students and co-workers I've introduced to the Zend Framework regarding how the different components can come together to form a basic application. I've searched, I have found, I have emailed great tutorials, but still the most common questions are posed "What's should... |
![]() |
Port Scanning and Service Status Checking in PHP Jun 6th by Akash Mehta
While building web applications, it's often important to keep an eye on the other services running on your server. Having access to the current status of public servers can empower your applications to make decisions and respond to problems automatically. Acknowledging a service is offline can also save endless support... |
![]() |
Web Database Access from Desktop Applications May 6th by Michael J. Ross
There may be growing interest in moving computer applications from the desktop to the Web. But desktop applications are still a huge market, whose demise has been prematurely reported by the media in the past, and will most likely be reported in the future. In addition, for many domain areas, a Web browser — even for an... |
![]() |
CubeCart 3.0 Installation and Configuration Apr 7th by Michael J. Ross
In this tutorial, we will get an introduction to CubeCart, created and distributed by Devellion Limited. Their flagship product is one of the easiest low-cost e-commerce solutions available, and is growing in popularity. Note that CubeCart is not technically open source, since the code cannot be freely redistributed. On... |
![]() |
PHP Site Search Made Easy Mar 30th by Akash Mehta
When users want to find information on your website, they first look for a search box. Failing that, they head back to Google - potentially finding a competing site and taking their business elsewhere, or simply becoming frustrated with your service. But implementing effective search doesn't have to be hard. In this... |
![]() |
Installing and Configuring Drupal 6.1 Mar 24th by Michael J. Ross
One of the most popular CMSs is Drupal, partly because it offers all of the aforesaid features, and partly because developers familiar with PHP (the language used by Drupal) can modify the functioning and appearance of almost every aspect of Drupal. The latest series of Drupal, version 6.x, provides improvements and... |
![]() |
Desktop Application Development with PHP-GTK Mar 13th by Akash Mehta
PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application. |
![]() |
Installing PHP on Windows Mar 5th by Michael J. Ross
A brochure-style Web site may be sufficient for a business that simply wants a basic Web presence — some static pages to inform the visitor of the company's off-line contact information. But most organizations want a Web site that can interact with the visitor, delivering custom content in dynamically-generated pages, and... |
![]() |
Easy PDF Generation in PHP Mar 1st by Akash Mehta
PDF is a popular, versatile format for storing content. PDF files can be generated once, and distributed in peace knowing that they will look the same across all platforms. They also serve as a perfect way of allowing your users to download or email a page from your website. In this tutorial, I'll show you how to generate... |
![]() |
Rapid Application Development with CodeIgniter Feb 17th by Akash Mehta
When it comes to PHP, there are a lot of options for frameworks. Some focus on simplifying your application code, while others improve your application portability, and others still simply help you code quicker. Today I'll introduce you to CodeIgniter, a framework that does all three. CodeIgniter is an MVC application... |
![]() |
Practical PHP Performance Feb 13th by Akash Mehta
When it comes to building web applications in PHP, performance isn't typically a major concern. Features, usability and any business concerns are considered a greater priority, as they can be better demonstrated and visualised. Performance graphs don't make the boss's day. So, why should you as a PHP developer, worry about... |
![]() |
Building Desktop Applications in PHP Feb 9th by Akash Mehta
So, you’re a hotshot PHP developer. You’ve written a lot of code powering some pretty cool websites; maybe you’ve even written some public / open source scripts that other developers are using. You’ve been through it all with the web, from basic database hacks to battling with inconsistent browser rendering, and now you... |
![]() |
The Zend Framework, Dependency Injection and Zend_Di Feb 7th by Pádraic Brady
A while ago I wrote this neat little subclass of Zend_Loader to add a midgen of Dependency Injection to the Zend Framework application I was then building. After emailing the lists to propose it be fully adopted into Zend_Loader some time ago, I realised someone had proposed a novel new component called Zend_Di, and that... |
![]() |
PHP Debugging with Zend Studio Feb 3rd by Michael J. Ross
In this tutorial, we will explore how to use the latest update of Zend Studio for debugging PHP scripts. But first, we will get an overview of the product, its various editions, the system requirements for running it, and other installation considerations. |
![]() |
Effective Geotargeting with PHP Jan 27th by Akash Mehta
In this tutorial, we’ll take a look at the technique of geotargeting, or serving content to users based on their physical location. The technology is invaluable; with simple techniques, you can target advertising to specific users, collect more accurate usage statistics, serve content in different languages for... |
![]() |
Simple System Maintenance with PHP-CLI Jan 21st by Akash Mehta
Web development is a world of rapid code modifications, instant deployment and immediate updates. Of course, maintaining the product of this web development can be as hectic as the web development is agile; with manual backups, quick database edits and tedious data migration and re-entry. In this tutorial, I'll show you... |
![]() |
Floating Point Comparisons In PHP and Javascript Jan 8th by Justin Laing
Here’s the problem. Say you’re comparing two floating point numbers a (71.00) and b (71.00) to see if they are the same. The problem is if you’ve done any calculations to arrive at these numbers they might actually be stored as 71.00000000001. Now if one of them is stored that way and the other isn’t and you compare the... |
![]() |
Create a Facebook Application With PHP Jan 7th by Justin Laing
This tutorial covers the basics of using the Facebook PHP Client Library and how to get your application started, including, installing the Facebook Developer Application, downloading the Facebook PHP Client Library, create your application, a hello Facebook! example, FBML - Facebook Markup Language and using the Facebook... |
![]() |
Scraping Links With PHP Jan 6th by Justin Laing
In this tutorial you will learn how to build a php script that scrapes links from any web page, some things that can be created via scraping links and the legal issues associated with scraping content. |
![]() |
Upload Files to MySQL using PHP Tutorial Nov 22nd by Tim
I much prefer to upload files to mysql instead of saving them directly to the file system. I can run database backups/mirrors that are much easier to manage then if files were placed on the file system. Here are the simple scripts I use to upload files and a script to stream the file back to the browser. |
![]() |
Introduction to PHP Programming Nov 19th by PHP Catalyst
PHP stands for 'Hypertext Preprocessor' which is actually a recursive acronym. It is an open source and most widely used scripting language for the web. In another words, PHP is a server side scripting language and can be embedded into HTML code which is parsed and processed when the page is requested. |
![]() |
PHP and MySql with PayPal Nov 16th by Neill Tyler
This tutorial shows how to take use dynamic PHP/MySQL content with PayPal. This is my firsts GoLive tutorial so please let me know how to improve things. I'm also open to any suggestions for more tutorials. |
![]() |
Writing PHP Nov 11th by Neil Williams
System functions available within PHP include creating, opening, reading from, writing to and closing files on the server, executing system commands, create directories and modify file permissions in pre-determined directories. PHP can receive and process data from forms, save data to files, send by email and output a... |
![]() |
Using MySQL and PHP Nov 10th by Neil Williams
This section deals mainly with exploring the possibilities of combining PHP and MySQL. To check if PHP is setup to use MySQL on your server, look for a section on MySQL in the phpinfo file described earlier. The technical details of setting up MySQL on your system are covered comprehensively in various text books. See the... |

















