|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: muscat_setup (4.0.5 - 4.2.3 only, PECL) muscat_setup -- Creates a new muscat session and returns the handleDescriptionresource muscat_setup ( int size [, string muscat_dir] )Warning This function is EXPERIMENTAL . The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.
Warning This function is currently not documented; only the argument list is available. size is the amount of memory in bytes to allocate for muscat. muscat_dir is the muscat installation dir e.g. "/usr/local/empower", it defaults to the compile time muscat directory. LXXXII. MySQL FunctionsIntroductionThese functions allow you to access MySQL database servers. More information about MySQL can be found at http://www.mysql.com/ . Documentation for MySQL can be found at http://dev.mysql.com/doc/ . RequirementsIn order to have these functions available, you must compile PHP with MySQL support. InstallationFor compiling, simply use the --with-mysql[=DIR] configuration option where the optional [DIR] points to the MySQL installation directory. This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi . If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts. Installation on Linux Systems PHP 4The option --with-mysql is enabled by default. This default behavior may be disabled with the --without-mysql configure option. If MySQL is enabled without specifying the path to the MySQL install DIR, PHP will use the bundled MySQL client libraries. Users who run other applications that use MySQL (for example, auth-mysql) should not use the bundled library, but rather specify the path to MySQL's install directory, like so: --with-mysql=/path/to/mysql . This will force PHP to use the client libraries installed by MySQL, thus avoiding any conflicts. PHP 5+MySQL is not enabled by default, nor is the MySQL library bundled with PHP. Read this FAQ for details on why. Use the --with-mysql[=DIR] configure option to include MySQL support. You can download headers and libraries from MySQL . Installation on Windows Systems PHP 4The PHP MySQL extension is compiled into PHP. PHP 5+MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini . Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH . See the FAQ titled " How do I add my PHP directory to the PATH on Windows " for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the systems PATH ), it's not recommended. As with enabling any PHP extension (such as php_mysql.dll ), the PHP directive extension_dir should be set to Related Function(s) |