Category Archives: PHP

PHP FTP Functions

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

Category: PHP

PHP Filter Functions

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

Category: PHP

PHP Filesystem Functions

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

Category: PHP

PHP Error and Logging Functions

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

Category: PHP

PHP Directory Functions

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

Category: PHP

PHP Date / Time Functions

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

Category: PHP

PHP Calendar Functions

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

Category: PHP

PHP Array Functions

PHP Array Introduction The array functions allow you to manipulate arrays. PHP supports both simple and multi-dimensional arrays. There are also specific functions for populating arrays from database queries. Installation The array functions are part of the PHP core. There is no installation needed to use these functions. PHP Array Functions PHP: indicates the earliest… Read More »

Category: PHP

PHP and AJAX Poll

AJAX Suggest In the AJAX example below we will demonstrate a poll where the web page can get the result without reloading. Do you like PHP and AJAX so far? Top of Form Yes:No: Bottom of Form This example consists of four pages: a simple HTML form a JavaScript a PHP page a text file… Read More »

Category: PHP

PHP and AJAX RSS Reader

An RSS Reader is used to read RSS Feeds RSS allows fast browsing for news and updates AJAX RSS Reader In the AJAX example below we will demonstrate an RSS reader where the content from the RSS is loaded into the webpage without refreshing. Select an RSS News Feed in the Box Below Top of… Read More »

Category: PHP