|
Posted by Michael on 12/28/05 08:39
Jerry and Gordon,
Thank you for taking the time to write out these superb explanations; I
and I'm sure others appreciate it. Just a few more question, if I
may...
1. How does the browser know that it should translate
http:/localhost/myFile.html into /var/www/html/myFile.html? Is there an
ini file somewhere that contains this information?
2. This thread got started because the first mysql call (see below)
failed, but when I changed localhost to 127.0.0.1, as in the second
call, it worked. Given the information I have from you now, I don't see
how the first call could ever work, although the documentation says
that it should. Any ideas?
$conn = mysql_connect("localhost", "root", ""); // This fails.
$conn = mysql_connect("127.0.0.1", "mike", ""); // This works.
Thanks again for your help,
M. McDonnell
Navigation:
[Reply to this message]
|