Tag Archives: PHP – Functions

PHP File System Functions

PHP supports some functions that enable us to access and manipulate with the file system. These functions require some runtime configuration settings that can be done in the php.ini file. Below is the list of settings that you can make in the php.ini file. Name Default Changeable Changelog allow_url_fopen “1” PHP_INI_ALL PHP_INI_ALL in PHP <= 4.3.4. PHP_INI_SYSTEM in… Read More »

PHP MySQL Functions

PHP supports many functions that will provide you with access to the MySQLi database server. PHP version 5.0.0 comes with the MySQLi extension and version 5.3.0 has the native driver for the MySQLi. PHP functions for MySQLi mysqli affected rows This function will return the number of affected rows from the previous SELECT, INSERT, UPDATE, REPLACE, or DELETE… Read More »

PHP ODBC Functions

PHP supports the Open database connectivity which is an API that enables developers to abstract a program from the database. PHP ODBC Functions autocommit This function will provide you with toggle autocommit behaviour. Syntax mixed odbc_autocommit ( resource $connection_id [, bool $OnOff = false ] ) Example <?php $input = odbc_connect(“DSN”, “user”, “pass”); $Return = odbc_autocommit($input, FALSE); ?>… Read More »