Archive for the ‘PHP Functions List’ Category

PHP URL Functions List

Dealing with URL strings: encoding, decoding and parsing.

PHP String functions List

These functions all manipulate strings in various ways. Some more specialized sections can be found in the regular expression and URL handling sections.

PHP Regular Expression (Regex) Functions List

Perl-Compatible – The syntax for patterns used in these functions closely resembles Perl. The expression should be enclosed in the delimiters, a forward slash (/), for example. Any character can be used for delimiter as long as it’s not alphanumeric or backslash (\). If the delimiter character has to be used in the expression itself, it needs to be escaped by backslash. Since PHP 4.0.4, you can also use Perl-style (), {}, [], and <> matching delimiters.

POSIX Extended – These functions all take a regular expression string as their first argument. PHP uses the POSIX extended regular expressions as defined by POSIX 1003.2. For a full description of POSIX regular expressions see the regex man pages included in the regex directory in the PHP distribution. It’s in manpage format, so you’ll want to do something along the lines of man /usr/local/src/regex/regex.7 in order to read it.

PHP PDF Function List

The PDF functions in PHP can create PDF files using the PDFlib library created by Thomas Merz.

The documentation in this section is only meant to be an overview of the available functions in the PDFlib library and should not be considered an exhaustive reference. Please consult the documentation included in the source distribution of PDFlib for the full and detailed explanation of each function here. It provides a very good overview of what PDFlib is capable of doing and contains the most up-to-date documentation of all functions.

All of the functions in PDFlib and the PHP module have identical function names and parameters. You will need to understand some of the basic concepts of PDF and PostScript to efficiently use this extension. All lengths and coordinates are measured in PostScript points. There are generally 72 PostScript points to an inch, but this depends on the output resolution. Please see the PDFlib documentation included with the source distribution of PDFlib for a more thorough explanation of the coordinate system used.

Please note that most of the PDF functions require a pdf object as its first parameter. Please see the examples below for more information.

PHP Oracle Function List

This extension adds support for Oracle database server access. See also the OCI8 extension.

You have to compile PHP with the option –with-oracle[=DIR], where DIR defaults to your environmment variable ORACLE_HOME.

PHP Mysql Functions List

These functions allow you to access MySQL database servers. More information about MySQL can be found at

Documentation for MySQL can be found at

PHP Image functions (GD Library) List

PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output image streams directly to a browser. You will need to compile PHP with the GD library of image functions for this to work. GD and PHP may also require other libraries, depending on which image formats you want to work with.

You can use the image functions in PHP to get the size of JPEG, GIF, PNG, SWF, TIFF and JPEG2000 images.

Note: Read requirements section about how to expand image capabilities to read, write and modify images and to read meta data of pictures taken by digital cameras.

PHP FTP Functions List

The functions in this extension implement client access to file servers speaking the File Transfer Protocol (FTP) as defined in
In order to use FTP functions with your PHP configuration, you should add the –enable-ftp option when installing PHP 4 or –with-ftp when using PHP 3.

The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.

PHP File Handling (Filesystem) Functions List

PHP File Handling (Filesystem) Functions List

PHP Date Functions List

These functions allow you to get the date and time from the server where your PHP scripts are running. You can use these functions to format the date and time in many different ways.

Note: Please keep in mind that these functions are dependent on the locale settings of your server. Make sure to take daylight saving time and leap years into consideration when working with these functions.

Copyright © Sunware Technologies - Your web partner