П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 6615 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 8746 раз(а).

Учебник HTML.
Просмотров 5322 раз(а).

Руководство по PHP5.
Просмотров 2476 раз(а).

Хостинг через призму DNS.
Просмотров 7826 раз(а).

Подборка текстов стандартных документов.
Просмотров 356 раз(а).

Учебник PHP - Самоучитель
Просмотров 5582 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 11805 раз(а).

Внешние атаки...
Просмотров 8040 раз(а).

Учебник PHP.
Просмотров 4707 раз(а).

SSI в примерах.
Просмотров 1492 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

fbsql_database_password

(PHP 4 >= 4.0.6, PHP 5)

fbsql_database_password --  Sets or retrieves the password for a FrontBase database

Описание

string fbsql_database_password ( resource link_identifier [, string database_password] )

Returns: The database password associated with the link identifier.

fbsql_database_password() sets and retrieves the database password used by the connection. if a database is protected by a database password, the user must call this function before calling fbsql_select_db(). if the second optional parameter is given the function sets the database password for the specified link identifier. If no link identifier is specified, the last opened link is assumed. If no link is open, the function will try to establish a link as if fbsql_connect() was called, and use it.

This function does not change the database password in the database nor can it be used to retrieve the database password for a database.

Пример 1. fbsql_create_clob() example

<?php
    $link
= fbsql_pconnect("localhost", "_SYSTEM", "secret")
        or die(
"Could not connect");
    
fbsql_database_password($link, "secret db password");
    
fbsql_select_db($database, $link);
?>

See also: fbsql_connect(), fbsql_pconnect() and fbsql_select_db().



Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru