Forum und email
fbsql_username

fbsql_username

(PHP 4 >= 4.0.6, PHP 5)

fbsql_username -- Get or set the username for the connection

Opis

string fbsql_username ( resource link_identifier [, string username] )

Get or set the username used for the connection.

Parametry

link_identifier

Identyfikator połączenia FrontBase zwrócony przez fbsql_connect() lub fbsql_pconnect().

Jeśli link jest opcjonalny i nie zostanie podany, funkcja spróbuje znaleźć otwarte połączenie do serwera FrontBase i jeśli takiego połączenia nie znajdzie, spróbuje utworzyć je tak jak fbsql_connect() byłaby wywołana bez argumentów

username

If provided, this is the new username to set.

Zwracane wartości

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