CLASS: clsThrowError
Use this class to handle errors.
SYNTAX:
$oErr->location = "FunctionName";
$oErr->error = "Error getting SQL results";
$oErr->description = mysql_error();
$oErr->debug = true; //OR false
$oErr->debug_info = $sql; //no print if debug...
FTP Upload Class
The following class can be used to upload files. Using FTP, you have control over authentication and read/write permissions, therefore this should be fairly flexible.
Simply change the values in clsUploadFile (CONSTRUCTOR) to fit the destination ...
IMAP with PHP
The following code contains two pages which demonstrate the ability to list, view, reply, send and delete messages via IMAP with PHP.
First is the end-user page, mobile_imap.php, and the second is the class which handles everything, _cl...
PHP Class Inheritance
The following is an example of how you can use OOPs inheritance to extend PHP classes.
Usage:
class classB extends classA {
}