PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

oci_pconnect> <oci_parse
Last updated: Fri, 25 Jul 2008

view this page in

oci_password_change

(PHP 5, PECL oci8:1.1-1.2.4)

oci_password_changeИзменяет пароль пользователя Oracle

Описание

boolean oci_password_change ( resource $connection , string $username , string $old_password , string $new_password )

Изменяет пароль указанного пользователя. Для этого вы должны указать имя пользователя, старый пароль и новый пароль, который вы хотите установить.

Замечание: В версиях PHP ниже 5.0.0 эта функция называлась ocipasswordchange(). В PHP 5.0.0 и выше ocipasswordchange() является алиасом oci_password_change(), поэтому вы можете продолжать использовать это имя, однако это не рекомендуется.

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.



add a note add a note User Contributed Notes
oci_password_change
sixd at php dot net
18-Jun-2008 09:16
Changing the password either with this function or directly in Oracle should be done carefully when PHP applications are involved. This is because  persistent connections may continue to work using the "old" password. The best practice is to restart all web servers whenever the user password is changed.

Oci_password_change is most useful for PHP command-line scripts, or when non-persistent connections are used everywhere in a PHP application.

oci_pconnect> <oci_parse
Last updated: Fri, 25 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites