Why did they remove this function? This is useful! I'm all over the place with databases and users. Some users can only insert, others only delete - this would be the easiest way and -- they removed it. I'm calling shenanigans on PHP!
mysql_change_user
(No version information available, might be only in CVS)
mysql_change_user — Cambia l'utente della connessione attiva
Descrizione
int mysql_change_user
( string $nome_utente
, string $password
[, string $
database
[, resource $
identificativo_connessione
]] )
mysql_change_user() cambia l'utente dell'attuale connessione attiva o della connessione specificata dal parametro opzionale identificativo_connessione . Se un database is specificato, questo sarà il database corrente dopo che l'utente è stato cambiato. Se l'autorizzazione del nuovo utente e password falllisce, l'attuale utente connesso rimane attivo. Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Nota: Questa funzione è stata introdotta nel PHP 3.0.13 e richiede MySQL 3.23.3 o successivo. Non è disponibile nel PHP 4.
mysql_change_user
what at the dot hell
10-Sep-2008 05:48
10-Sep-2008 05:48
