Category Archives: PHP

PHP Zip File Functions

PHP Zip File Introduction The Zip files functions allows you to read ZIP files. Installation For the Zip file functions to work on your server, these libraries must be installed: The ZZIPlib library by Guido Draheim: Download the ZZIPlib library The Zip PELC extension: Download the Zip PELC extension Installation on Linux Systems PHP 5+:… Read More »

Category: PHP

PHP XML Parser Functions

PHP XML Parser Introduction The XML functions lets you parse, but not validate, XML documents. XML is a data format for standardized structured document exchange. More information on XML can be found in our XML Tutorial. This extension uses the Expat XML parser. Expat is an event-based parser, it views an XML document as a… Read More »

Category: PHP

PHP String Functions

PHP String Introduction The string functions allow you to manipulate strings. Installation The string functions are part of the PHP core. There is no installation needed to use these functions. PHP String Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP addcslashes() Returns a string with backslashes in front… Read More »

Category: PHP

PHP SimpleXML Functions

PHP SimpleXML Introduction The SimpleXML functions lets you convert XML to an object. This object can be processed, like any other object, with normal property selectors and array iterators. Some of these functions requires the newest PHP build. Installation The SimpleXML functions are part of the PHP core. There is no installation needed to use… Read More »

Category: PHP

PHP MySQL Functions

PHP MySQL Introduction The MySQL functions allows you to access MySQL database servers. Installation For the MySQL functions to be available, you must compile PHP with MySQL support. For compiling, use –with-mysql=DIR (the optional DIR points to the MySQL directory). Note: For full functionality of MySQL versions greater than 4.1., use the MySQLi extension instead.… Read More »

Category: PHP

PHP Misc. Functions

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.… Read More »

Category: PHP

PHP Math Functions

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… Read More »

Category: PHP

PHP Mail Functions

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… Read More »

Category: PHP

PHP libxml Functions

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 array of errors… Read More »

Category: PHP

PHP HTTP Functions

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… Read More »

Category: PHP