Forum Moderators: coopster
But when I try to run a mysql_connect command I get the response Page Not Found and ctrl-R only gives the last version of the page without the function in.
function_exists("mysql_connect") proves the function is there.
Since ther is no error message I cant get anywhere.
Please Help!
Have you turned error_reporting [php.net] on in your script so you can see the errors?
[edited by: coopster at 1:23 pm (utc) on Dec. 1, 2004]
$connect = mysql_connect('server', 'user', 'pwd')
or exit('Could not connect (' . mysql_errno() . '): '
. mysql_error());
$db = mysql_select_db('database', $connect)
or exit('Could not select database (' . mysql_errno() . '): '
. mysql_error());
[us2.php.net...]
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
I cant see anything wrong but how would I find out if there was a problem.
Also I have tried the distribution php.ini and the same problem occurs