| Pahlevanzadeh Mohsen 2004-08-31, 8:56 pm |
| 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
|