[PHP] PHP and MySQL auth?

2001-08-28 Thread Alex Sofronie
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);

Re: [PHP] PHP and MySQL auth?

2001-08-28 Thread B. van Ouwerkerk
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