[PHP] PEAR::Auth

2004-10-13 Thread 22
Concerning PEAR::Auth I can't tune interaction between PEAR::Auth and MySQL auth table . Typical code from manual ?php $dbtype = 'mysql'; $dbhost = 'localhost'; $dbuser = ''; $dbpass = ''; $dbname = cosmos; $dsn = $dbtype://$dbuser:[EMAIL PROTECTED]/$dbname; $conn = mysql_connect($dbhost,

[PHP] PEAR::Auth

2004-10-10 Thread 22
Concerning PEAR::Auth I can't tune interaction between PEAR::Auth and MySQL. Typical code ?php $dbtype = 'mysql'; $dbhost = 'localhost'; $dbuser = ''; $dbpass = ''; $dbname = cosmos; $dsn = $dbtype://$dbuser:[EMAIL PROTECTED]/$dbname; $conn = mysql_connect($dbhost, $dbuser, $dbpass);

[PHP] password in the mysql table 'auth'

2004-10-08 Thread 22
Concerning Auth How to set username and password in the mysql table 'auth'. Nothing has resulted from direct entry into the table. Vlad Alivanov

[PHP] php reference behavior

2002-12-17 Thread 22 manopohuji
hi, i'm running into some weird behavior with php references. i distilled it down to some test code below: ?php $array = array( 'name' = 'dean' ); $var1['arrayref'] = $array; $var2 = $var1; echo var1:\n; print_r( $var1 ); echo var2:\n; print_r( $var2 ); $var1['arrayref'] = NULL;