PHP Misc. Functions

November 12th, 2010 by aBisona 
PHP Miscellaneous Introduction The misc. functions were only placed here because none of the other categories seemed to fit. Installation The misc functions are part of the PHP core. There is no installation needed to use these functions. Runtime Configuration The behavior of the misc functions is affected by settings in the php.ini file. Misc. configuration options: Name Default Description Changeable ignore_user_abort “0″ FALSE...

PHP Math Functions

November 12th, 2010 by aBisona 
PHP Math Introduction The math functions can handle values within the range of integer and float types. Installation The math functions are part of the PHP core. There is no installation needed to use these functions. PHP Math Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP abs() Returns the absolute value of a number 3 acos() Returns...

PHP Mail Functions

November 12th, 2010 by aBisona 
PHP Mail Introduction The mail() function allows you to send emails directly from a script. Requirements For the mail functions to be available, PHP requires an installed and working email system. The program to be used is defined by the configuration settings in the php.ini file. Installation The mail functions are part of the PHP core. There is no installation needed to use these functions. Runtime...

PHP libxml Functions

November 12th, 2010 by aBisona 
PHP libxml Introduction The libxml functions and constants are used together with SimpleXML, XSLT and DOM functions. Installation These functions require the libxml package. Download at xmlsoft.org PHP libxml Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP libxml_clear_errors() Clear libxml error buffer 5 libxml_get_errors() Retrieve...

PHP HTTP Functions

November 12th, 2010 by aBisona 
PHP HTTP Introduction The HTTP functions let you manipulate information sent to the browser by the Web server, before any other output has been sent. Installation The directory functions are part of the PHP core. There is no installation needed to use these functions. PHP HTTP Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP header() Sends...

PHP FTP Functions

November 12th, 2010 by aBisona 
PHP FTP Introduction The FTP functions give client access to file servers through the File Transfer Protocol (FTP). The FTP functions are used to open, login and close connections, as well as upload, download, rename, delete, and get information on files from file servers. Not all of the FTP functions will work with every server or return the same results. The FTP functions became available with...

PHP Filter Functions

November 12th, 2010 by aBisona 
PHP Filter Introduction This PHP filters is used to validate and filter data coming from insecure sources, like user input. Installation The filter functions are part of the PHP core. There is no installation needed to use these functions. PHP Filter Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP filter_has_var() Checks if a variable...

PHP Filesystem Functions

November 12th, 2010 by aBisona 
PHP Filesystem Introduction The filesystem functions allow you to access and manipulate the filesystem. Installation The filesystem functions are part of the PHP core. There is no installation needed to use these functions. Runtime Configuration The behavior of the filesystem functions is affected by settings in php.ini. Filesystem configuration options: Name Default Description Changeable allow_url_fopen “1″ Allows...

PHP Error and Logging Functions

November 12th, 2010 by aBisona 
PHP Error and Logging Introduction The error and logging functions allows error handling and logging. The error functions allow users to define error handling rules, and modify the way the errors can be logged. The logging functions allow users to log applications and send log messages to email, system logs or other machines. Installation The error and logging functions are part of the PHP core....

PHP Directory Functions

November 12th, 2010 by aBisona 
PHP Directory Introduction The directory functions allow you to retrieve information about directories and their contents. Installation The directory functions are part of the PHP core. There is no installation needed to use these functions. PHP Directory Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP chdir() Changes the current directory 3 chroot() Changes...

PHP Date / Time Functions

November 12th, 2010 by aBisona 
PHP Date / Time Introduction The date/time functions allow you to extract and format the date and time on the server. Note: These functions depend on the locale settings of the server! Installation The date/time functions are part of the PHP core. There is no installation needed to use these functions. Runtime Configuration The behavior of the date/time functions is affected by settings in php.ini. Date/Time...

PHP Calendar Functions

November 12th, 2010 by aBisona 
PHP Calendar Introduction The calendar functions are useful when working with different calendar formats. The standard it is based on is the Julian day count (Julian day count is a count of days starting from January 1, 4713 B.C.). Note that the Julian day count is not the same as the Julian calendar! Note: To convert between calendar formats, you must first convert to Julian day count, then to...