Tutorials
ASP Tutorials

XML Tutorials
Javascript Tutorials
CSS Tutorials
HTML Tutorials
Perl Tutorials
PHP Tutorials
C/C++/C# Tutorials
Java Tutorials
Visual Basic Tutorials

Sedo - Buy and Sell Domain Names and Websites project info: softwaresourcer.com Statistics for project softwaresourcer.com etracker® web controlling instead of log file analysis


PHP/SQLTutorials - Improve your understanding of PHP



Welcome to the PHP Tutorial pages on Softwaresourcer.com - here you can find tutorials, help and information on PHP from all over the internet. If you have any questions about PHP or would like PHP done for you company please complete our free IT quotes form. If you are a company who takes on PHP projects and would like to receive leads from people looking for Perl/CGI or other IT related work please complete our
IT suppliers partner form and we will provide you with up to 5 impartial quotations free of charge!



Nuking The Competition
The PHP-Nuke content management system is a popular open-source project, designed to help you get your Web site off the ground with minimum fuss...and if you're a budding Webmaster, or just running on a tight schedule, it can probably make your life simpl...


Object Oriented PHP: Paging Result Sets
Find yourself writing the same code again and again? Try Object Oriented Programming! Kev creates a reusable component to split MySQL results into pages...

On the Security of PHP, Part 1
Despite the fact that the language is designed with security in mind, a familiarity with its more dangerous aspects and conformance to common secure programming guidelines is essential to minimizing the possibility of security compromises. The aim of this...


On the Security of PHP, Part 2
We conclude our look at securing PHP code with some advice on programming guidelines, user-input filtering, and configuration settings. Upon finishing this lesson, you should be alert to the major liabilities of working with PHP...


On User-Defined Timezones in PHP
PHP provides some nice date manipulation functions that work very well in combination with each other. However, they only handle dealing with the server's timezone. Adding the feature for shifting dates to a user-defined timezone can be a very unpleasant...

OO Design: Abstract Classes
This article is the first in a series of articles that will focus on various object-oriented design topics. In this article we are going to talk about the concepts surrounding abstract classes, situations where they are useful in design, how we can implem...


Optimizing dynamic performance with sessions in PHP
Performance is one of the most critical success factors of any Web site. Users are inherently impatient, and alternatives are plentiful. This article examines the use of session objects to improve performance...


Output Buffering With PHP
Hate those ugly error messages that PHP generates when it encounters an error in your scripts? Can't stand half-constructed Web pages? Well, maybe you should take a look at PHP's output control functions, which offer an interesting and powerful solution t...


Paginating MySQL Data with PHP
Have a large MySQL dataset that you would like to display on your website, but don't want to bog down your users' connections with large HTML renderings? Try paginating your data. Click here for full article...


Paypal, the PHP approach
This tutorial is intended for PHP programmers of all levels, who wish to add Paypal functionality to their website. The programmer needs only a PHP enabled website and Paypal account....


PEAR Primer
PEAR stands for "PHP Extension and Application Repository" and has been slowly building itself over the last few years. There are classes for logging, compression, XML, and on and on. The most popular one is the database abstraction class, which supports...


Pear::DB Primer
Pear::DB provides a database abstraction layer for PHP allowing it to use most major databases, including MySQL, PostGreSQL, and MS SQL server. Joao Prado Maia explains how to use it and provides examples...


PEAR::Mail
Richard Heyes introduces you to some of the delights hiding away in the Mail section of PEAR...


Peeking at Pear
Take a quick peek at Pear and learn what it does for PHP programmers...


Perl to PHP Migration
Perl and PHP are great scripting languages. Perl has led the web scripting language race for quite a while without much competition. But now PHP has been born. Don't get me wrong- Perl is an excellent programming language and is still very, very useful. B...

PHP - Previous and Next Links
After reading this tutorial, you should be able to add previous and next links to your pages that display data from a database...


PHP 101 (Part 1) - Secret Agent Man
PHP is the hottest scripting language around - and with the release of PHP4, more and more developers are looking at it as a rapid Web development tool. This new series of tutorials is aimed at getting novice programmers up to speed on the language, and t...

PHP 101 (Part 2) - Shakespeare's Rose
Now that you've got the basics of PHP variables and operators down, the second article in this series takes a look at PHP's form-processing capabilities, and introduces you to the comparison and logical operators and the "if-else" and "switch" family of c...


PHP and Apache in Windows 2000
By the end of this tutorial, you'll hopefully have a working PHP and Apache system running on your Windows 2000 machine so that you can test those pesky PHP scripts without having to bother your local UNIX guru. Now, for those of you that are that local g...


PHP and COM
You've already seen how PHP can be used to interface with Java components and JavaBeans. But here's something you didn't know - PHP can (shock shock! horror horror!) even be used to interface with Microsoft COM objects on the Windows platform. Will this b...


PHP and Databases for the Lazy Sod
In this article Justin explains his ezSQL utility, which reduces code and development time for database operations in PHP. This is great for the lazy sod...and everyone else....


PHP and PostgreSQL
When you talk about PHP and databases, people tend to assume you're talking about MySQL. But hang on to your horses - difficult though it may be to believe, PHP does include support for a number of other databases. One of them is PostgreSQL, the *other* o...

PHP and Regular Expressions 101
Regular expressions needn't be tools exclusive to UNIX shell programmers and Perl gurus. As guest author Mitchell Harper explains, adding basic regular expression functions to your PHP code is simpler than you might think...


PHP and Regular Expressions 101
Regular expressions are one of those quirky features that popup in a variety of programming languages, but because they seem to be a difficult concept to grasp, many developers push them away into the corner, forgetting that they even exist...


PHP and XML: Parsing RSS 1.0
XML is springing up all over the Internet. In this article, Kev shows you how to use PHP to read an XML document and display the data it contains as a Web page. Use the code he provides to display the headlines at SitePoint.com on your own site...


PHP Basics: Getting and Printing Data From a Database
If you're wondering how to simply get and print data retrieved from a database with PHP, here's how. This PHP code does a quick connect, retrieve,and print from MySQL -- the basisc element for a dynamic Web site: displaying your data...


PHP Browser Detection and Appropriate CSS Generation
In this article, Tim explains his browser detection utility and how you can use it to generate the right CSS for each user...

PHP Filesystem functions
This short tutorial will show you how to use fopen fgets and fputs to create a counter. It also trys to explain how to use fopen to create more advanced scripts that store data to flat files rather then to a database...


PHP from the Ground Up
PHP wallflowers need lurk on the sidelines no longer! Tim Z's intro tutorial gets you from zero to PHP in no time flat...


PHP Interface for HierMenus 4
Among its other features, you can use PHP to retrieve, format, and pass dynamic data to Web pages as JavaScript structures. Guest author J. "JC" Chakrabarty introduces this capability by discussing his PHP/MySQL interface to HierMenus 4...


PHP Iterator
What we will try to accomplish here is to create unique interface for traversing arrays and to add a little more control over how our objects are created and finally, to support lazy loading...


PHP PDF functions.
This tutorial will go into how to use the PHP PDF functions to create PDF files....


PHP Security, Part 1
If you have users, you'll undoubtedly have bad guys trying to break things. As a PHP developer, it's your responsibility to make sure your code is secure. John Coggeshall demonstrates one common PHP error that can leave you vulnerable, and he explains how...