[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 "; echo ""; echo ""; echo ""; echo ""; } $a = new Auth("DB", $dsn, "loginFunction"); $a->start(); if ($a->getAuth()){ echo "OK"; } ?> With typical SQL statement

[PHP] PEAR::Auth

2004-10-10 Thread 22
Concerning PEAR::Auth I can't tune interaction between PEAR::Auth and MySQL. Typical code "; echo ""; echo ""; echo ""; echo ""; } $a = new Auth("DB", $dsn, "loginFunction"); $a->start(); if ($a->getAuth()){ echo "OK"; } ?> With typical SQL statement: CREA

[PHP] password in the mysql table 'auth'

2004-10-07 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: 'dean' ); $var1['arrayref'] = & $array; $var2 = $var1; echo "var1:\n"; print_r( $var1 ); echo "var2:\n"; print_r( $var2 ); $var1['arrayref'] = NULL; echo "var1:\n"; print_r( $v