Hello, all.
What is the difference between:
Case 1: I auth with header('WWW-Auth...') and validate the user from a
plain file. Next, i do something like
mysql_connect($the_db_host,$the_db_username,$the_db_pass);
mysql_select_db($the_db_name);
mysql_query(select * from table);
Case 2. Without any form of auth, I read the text file and do
mysql_connect($the_db_host,$the_db_username,$the_db_pass);
mysql_select_db($the_db_name);
mysql_query(select * from table);
and the server response is:
Error 2002: Can't connect to local MySQL server through socket
2 matches
Mail list logo