Connect Problem
| From: | Jeremy | Date: | Thu, 09 May 2002 04:32:10 +0000 |
| Subject: | Connect Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96755@lists.php.net to get a copy of this message | ||
Hey there,
I can't connect to mysql through a php web page, it isn't talking to it. And
also $PHP_SELF gives a permission error, access denied. Do I have
permissions set incorrectly?
This is my php,
<?php
$dbcnx = @mysql_connect("host", "user", "password");
if (!$dbcnx) {
echo ("blah");
exit();
}
?>
I get no errors, just no response so it obviously no connecting. Changing
user names or passwords produce the same result. I can connect with a shell
in the root mysql dir.
lost..
Jeremy