recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
These functions allow you to access FrontBase database servers. More information about FrontBase can be found at http://www.frontbase.com/.
Documentation for FrontBase can be found at http://www.frontbase.com/cgi-bin/WebObjects/FrontBase.woa/wa/productsPage?currentPage=Documentation.
Frontbase support has been added to PHP 4.0.6.
You must install the FrontBase database server or at least the fbsql client libraries to use this functions. You can get FrontBase from http://www.frontbase.com/.
In order to have these functions available, you must compile PHP with
fbsql support by using the
--with-fbsql[=DIR] option. If you use
this option without specifying the path to fbsql, PHP will search for the
fbsql client libraries in the default installation location for the
platform. Users who installed FrontBase in a non standard directory should
always specify the path to fbsql:
--with-fbsql=/path/to/fbsql. This will
force PHP to use the client libraries installed by FrontBase, avoiding any
conflicts.
The behaviour of these functions is affected by settings in php.ini.
Table 1. FrontBase configuration options
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| fbsql.allow_persistent | "1" | PHP_INI_SYSTEM | Available since PHP 4.2.0. |
| fbsql.generate_warnings | "0" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.autocommit | "1" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.max_persistent | "-1" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.max_links | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.max_connections | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.max_results | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.batchSize | "1000" | PHP_INI_SYSTEM | |
| fbsql.default_host | NULL | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.default_user | "_SYSTEM" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.default_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.default_database | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
| fbsql.default_database_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
Another Useful functions:
ref.fbsql | function.fbsql-warnings | function.fbsql-username | function.fbsql-tablename | function.fbsql-table-name | function.fbsql-stop-db | function.fbsql-start-db | function.fbsql-set-transaction | function.fbsql-set-password | function.fbsql-set-lob-mode | function.fbsql-set-characterset | function.fbsql-select-db | function.fbsql-rows-fetched | function.fbsql-rollback | function.fbsql-result | function.fbsql-read-clob | function.fbsql-read-blob | function.fbsql-query | function.fbsql-pconnect | function.fbsql-password | function.fbsql-num-rows | function.fbsql-num-fields | function.fbsql-next-result | function.fbsql-list-tables | function.fbsql-list-fields | function.fbsql-list-dbs | function.fbsql-insert-id | function.fbsql-hostname | function.fbsql-get-autostart-info | function.fbsql-free-result | function.fbsql-field-type | function.fbsql-field-table | function.fbsql-field-seek | function.fbsql-field-name | function.fbsql-field-len | function.fbsql-field-flags | function.fbsql-fetch-row | function.fbsql-fetch-object | function.fbsql-fetch-lengths | function.fbsql-fetch-field | function.fbsql-fetch-assoc | function.fbsql-fetch-array | function.fbsql-error | function.fbsql-errno | function.fbsql-drop-db | function.fbsql-db-status | function.fbsql-db-query | function.fbsql-database | function.fbsql-database-password | function.fbsql-data-seek | function.fbsql-create-db | function.fbsql-create-clob | function.fbsql-create-blob | function.fbsql-connect | function.fbsql-commit | function.fbsql-close | function.fbsql-clob-size | function.fbsql-change-user | function.fbsql-blob-size | function.fbsql-autocommit | function.fbsql-affected-rows |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.