Related Tutorials
Object Oriented ProgrammingThis tutorial covers the following: * The drawbacks to standard function libraries and how object-oriented programming helps to solve them * How to declare, implement, and use classes in PHP5 * How to extend classes * How to create hierarchies of related classes that share implementation and classes that expose common programming 'interfaces' * Some of the other details and features of classes in PHP
Working with Objects in PHP 5
This article explains the process of working with Objects in PHP 5. The author defines Objects, Classes, Properties and Methods among several other topics. This author gives you the basis to use PHP 5.
PHP Classes - OOP
Most people are afraid of classes and refuse to see the use of them. I was, until I took a JAVA class, which requires the use of classes, and saw the actual beauty of them. Classes are really useful, they reduce the clutter of your code, and make updating a site very easy. Unfortunately, classes aren't as useful in PHP as in other languages, but I still like them. I'm going to use my site as an example, where I have the user_commands class, which handles all the users on the site (ie login, logout, session_ids, etc). It makes my code very neat and organized, and it really pays off when you need to make a change.
Classes and objects in PHP
There are many ways to create programming code. One of the easiest but most powerful is to start using object oriented way to think and work. I will give you the basic how you create a class, and why.
Database Abstraction - PEAR::DB
In this tutorial I'll introduce you to the PEAR::DB classes. Alot of people use the mysql-specific functions to get at information in their SQL database. Porting code to other databases can be tiresome and annoying, use PEAR::DB and all that changes.
Classes and OOP in PHP
An introduction to classes and object orientated programming in PHP.
Functions
This tutorial describes: How to define functions, How to pass references to and returning a reference from functions.
Directories, Files and Images
This tutorial describes: Directory functions, File system functions, Image functions, ShowPhoto.php - a sample program.
Classes and OOP in PHP
Object orientated programming (OOP) is a commonly used term when discussing modern programming techniques. One of the things that makes humans stand out is the ability to categorise - we put objects into categories of similar type of function.
Polymorphism, Abstract Classes, and Interfaces
This article will demonstrate Abstract classes, Interfaces, and polymorphism, as implemented in the PHP5 language, which isn't as versatile as other languages Ive worked with (such as C++) .
Introduction to PHP Functions
Functions are a very important part of PHP and it is probably safe to say that they are used in every single script. This tutorial will guide you through the basics of PHP functions to creating your own to do specific tasks.
Working with Directories
As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and manipulate directories and directory entries. Like other file-related parts of PHP, the functions are similar to the C functions that accomplish the same tasks, with some simplifications. This tutorial describes how PHP handles directories. You will look at how to create, remove, and read them.
Calling Methods Out of Object Scope
Theoretically defining the role of helper classes in PHP 5 (and other popular server-side scripting languages) is a pretty approachable process. As their name suggests, helper classes provide developers with a set of logically-grouped methods that allow them to easily perform certain repetitive tasks that are common to different web applications.
Restricting External Access to .PHP Files
Sometimes, when you are writing your PHP script, you'll write Classes and Functions that you will use in your script in external files so that they might be included( ) or required( ) at any time. The same could be said about configuration files - You have certain settings in the form of variables in a external configuration file that you load in the different pages of your script so that they might be shared and edited with ease.
PHP string functions summary
One of PHP strengths are all the string functions. We give you a great help with starting to work with these functions.
An Introduction to Object-Oriented Programming
An in-depth introduction to the basic and advanced features of PHP, including Object-Oriented Programming, Advanced Classes and Static Classes ~ with example code.
PHP Functions
So you've heard about functions, and what they can do.. and how leet they are. Now its your turn to write your own function.
PHP and MySQL - Introduction
The topics covered in this tutorial include: * PHP basics, including script structure, variables, supported types, constants, expressions, and type conversions * Condition and branch statements supported by PHP, including if, if...else, and the switch statements * Looping statements * Arrays and array library functions * Strings and string library functions * Regular expressions * Date and time functions * Integer and float functions * How to write functions, reuse components, and determine the scope and type of variables * An introduction to PHP object-oriented programming support * Common mistakes made by programmers new to PHP, and how to solve them.
PHP Script Tips - Creating Your Own Functions
A collection of 19 tips on creating your own PHP functions. Clear answers are provided with tutorial exercises on defining functions, defining arguments, passing references, returning references, argument default values, etc.
Functions
A function is a block of code which can be called from any point in a script after it has been declared. It is basically a compartmentalized PHP script designed to accomplish a single task. Furthermore, code contained within functions is ignored until the function is called from another part in the script. Functions are useful because they contribute to rapid, reliable, error-reducing coding, and increase legibility by tiding up complicated code sequences.
Text & Number Functions
This tutorial covers various different text manipulation and management functions, many of which are absolutely invaluable for your scripts.
Functions with Endless Amounts of Arguments
Learn how to creating functions with an indefinite amount of user arguments.
Using PHP classes to navigate distributed whois databases
In this tutorial we will learn how to Using PHP classes to navigate distributed whois databases.
Using Functions
Real world applications are usually much larger than the examples above. In has been proven that the best way to develop and maintain a large program is to construct it from smaller pieces (functions) each of which is more manageable than the original program.
Introduction to custom functions
Read this tutorial and learn the basics of custom functions .
Introduction to Serializing
Serializing is a technique that allows you to turn variables, arrays, functions or objects from PHP into a form that can be used to store them, and when needed, convert them back into PHP. Serializing is useful for flatfile applications that store things in arrays, and are good for CMS features that can let you edit how it works to an advanced degree.
Functions, Cont.
The usefulness of functions is greatly enhanced by the ability to pass information from the main body of code to the function and in the opposite direction, or between one function and another it is calling Values that are sent to a function are called arguments.
XML and PHP Simplified: The DOM
In this article, we will take a further look at the XML functions that are offered by PHP5. At the same time, we will also look at some of the other DOM functions that deal with the Document Object Model.
Using Type Juggling/Type Casting to Modify Data Types
We're going to be dealing with type juggling in this article. This is the process of instructing PHP how to handle the value after the type juggling. Type juggling can do absolutely all sorts, from converting integers to floats, arrays to objects, and even strings to binary as of PHP 5.2.1. It can also save you calling various functions and thus making your script quicker.
PHP Functions
As with any decent language, PHP allows you to write your own functions.
Using Abstract Classes to Define Rules
Using Abstract Classes to Define Rules.
Input - Output String Functions
This tutorial is showing some functions that you need to use for your inputing form (as text field, text area) because, it is not security to receive string datas and input them directly into your database.
Classes
Learn Advanced Object Oriented Programming for PHP.
Array functions in PHP
If you work with PHP and databases, you will most guaranteed have to work with arrays. Arrays are great for holding lots of information in a simple, but organized way. This tutorial gives you the basic functions that is useful when working with arrays.
Type hinting with PHP
PHP has supported type hinting for parameter functions from version 5.0 for objects and from version 5.1 for arrays. Type hinting means the function specifies what type the parameter must be and if it is not of the correct type an error will occur. Type hinting is not supported for other types, e.g. for strings and integers.
PHP Script Tips - Manipulating Arrays with Built-in Functions
A collection of 19 tips on PHP functions on arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two arrays, looping on array elements, expanding and truncating arrays.
Layout system using functions
In this discussion you will learn how to use functions in a layout system.
A WebServer Guide -- Help Using Apache
Web server program sits around awaiting requests from visitors web browsers for objects it has in its possession, and then sends these objects back for the visitor's viewing pleasure. This article guides you through setting and getting started with Apache on Linux.
Working with Arrays
When simple variables are just not good enough, arrays come into play. The array section in the PHP manual, available at http://php.net/array, lists approximately 80 functions that are helpful. Therefore, this tutorial could be filled with array-related code alone. However, not all of these functions are really used often. Therefore, this tutorial presents the most important problems you'll have to solve when working with arraysand, of course, solutions for these problems.
A Framework for Persisting Data Relationships
This tutorial will show you how to create relationships in your databases. PHP classes are provided that will perform the job.

Report
Adobe Fireworks
Adobe Flash
Adobe Illustrator
Adobe Image Ready
Adobe Photoshop
3D Studio Max
Cinema 4D
Maya 3D
Microsoft Excel
Microsoft PowerPoint
Microsoft Word
Microsoft Access
MySQL
C and C++
Python
Visual Basic
.htaccess
Adobe DreamWeaver
ASP
CGI & Perl
CSS
Java
JavaScript
Microsoft FrontPage
Windows Vista
Windows 7