PHP: msql_pconnect - Manual in Deutsh
PHP: msql_pconnect - Manual in French
PHP: msql_pconnect - Manual in Polish

You Are At PHP: msql_pconnect - Manual Area


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.

PHP Manual
PrevNext

msql_pconnect

(PHP 3, PHP 4, PHP 5)

msql_pconnect -- Open persistent mSQL connection

Description

resource msql_pconnect ( [string hostname] )

msql_pconnect() acts very much like msql_connect() with two major differences.

First, when connecting, the function would first try to find a (persistent) link that's already open with the same host. If one is found, an identifier for it will be returned instead of opening a new connection.

Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use (msql_close() will not close links established by this function).

Parameters

hostname

The hostname can also include a port number. e.g. hostname,port.

If not specified, the connection is established by the means of a Unix domain socket, being then more efficient then a localhost TCP socket connection.

Note: While this function will accept a colon (:) as a host/port separator, a comma (,) is the preferred method.

Return Values

Returns a positive mSQL link identifier on success, or FALSE on error.

See Also

msql_connect()
msql_close()

Grzejniki
Wycieraczki
kredyt hipoteczny doradca finansowy wrocław
kredyt banki
Koszulki

Another Useful functions:


function.msql-tablename | function.msql-select-db | function.msql-result | function.msql-regcase | function.msql-query | function.msql-pconnect | function.msql-numrows | function.msql-numfields | function.msql-num-rows | function.msql-num-fields | function.msql-list-tables | function.msql-list-fields | function.msql-list-dbs | function.msql-free-result | function.msql-fieldtype | function.msql-fieldtable | function.msql-fieldname | function.msql-fieldlen | function.msql-fieldflags | function.msql-field-type | function.msql-field-table | function.msql-field-seek | function.msql-field-name | function.msql-field-len | function.msql-field-flags | function.msql-fetch-row | function.msql-fetch-object | function.msql-fetch-field | function.msql-fetch-array | function.msql-error | function.msql-drop-db | function.msql-dbname | function.msql-db-query | function.msql-data-seek | function.msql-createdb | function.msql-create-db | function.msql-connect | function.msql-close | function.msql-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.