Forum und email

fbsql_username

(PHP 4 >= 4.0.6, PHP 5)

fbsql_username — Get or set the username for the connection

Descrierea

string fbsql_username ( resource $link_identifier [, string $username ] )

Get or set the username used for the connection.

Parametri

link_identifier

Un identificator de legătură FrontBase întors de fbsql_connect() sau fbsql_pconnect().

Dacă nu este specificat, funcţia va încerca să găsească o legătură deschisă către serverul FrontBase şi dacă nu este găsită nici o astfel de legătură, se va încerca crearea uneia, ca şi la apelarea fbsql_connect() fără argumente.

username

If provided, this is the new username to set.

Valorile întroarse

Returns the current username used with the connection, as a string.

Vedeţi de asemenea