FrontBase Функции
PHP Manual

fbsql_username

(PHP 4 >= 4.0.6, PHP 5)

fbsql_usernameGet or set the username for the connection

Описание

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

Get or set the username used for the connection.

Параметри

link_identifier

Идентификатор на връзката към FrontBase, върнат от fbsql_connect() или fbsql_pconnect().

Ако е незадължителна и не е указана, функцията ще се опита да намери отворена връзка към сървъра FrontBase и ако не намери такава ще се опита да създаде нова, както когато fbsql_connect() е била извикана без аргументи.

username

If provided, this is the new username to set.

Връщани стойности

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

Вж. също


FrontBase Функции
PHP Manual