MD5 & Auth class

From: Date: Tue, 31 Aug 2004 22:20:47 +0000
Subject: MD5 & Auth class
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14353@lists.php.net to get a copy of this message
Dears,I have changed my code,But i don't recv "okkkkkkkkk" message in browser. My code is : <? set_include_path(get_include_path().'/'.'auth'); include_once('Auth/Auth.php'); function x(){echo "xxxxxxxxxxxxxxxxxxx";} mysql_pconnect('localhost',"root",''); mysql_select_db('mem'); $x=MD5('mohsen'); mysql_query("insert into usernames values (pass='$x',user = 'jiq');"); $parameterforauth=array("dsn"=>"mysql://jiq:mohsen@localhost/mem", "table"=>"usernames", "usernamecol"=>"user", "passwordcol"=>"pass"); $ptr_auth_C=new auth("DB",$parameterforauth,"x"); $ptr_auth_C->start(); if ($ptr_auth_C->getAuth()) echo "okkkkkkkkkkkkkkk"; ?> What's my problem? Yours,Mohsen...... ===== ---------DIGITAL SIGNATURE------------------- ///Mohsen Pahlevanzadeh//////// Network administrator & programmer My home phone is: +98213810146 My email address is m_pahlevanzadeh at yahoo dot com My website is: http://webnegar.net ---------------------------------------------------------------- _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush

« previous php.pear.general (#14353) next »