PHP, since upgrading to 5.2.17 getting some warning ?
- by Jules
I can't reproduce this on my test server no idea why this is happening, other queries / functions work..
I'm getting this warning
PHP Warning: mysql_connect() [<a href='function.mysql-connect'>
function.mysql-connect</a>]: Can't connect to MySQL server on
'--my isps server--' (10060) in D:\domains\mydomain.com\wwwroot\p
hp\_stdfuncs.php on line 191
This function and others like it are having problems (but some are ok), this is my include file...
function AddPageError($PageHandle, $Requested) {
global $server;
global $db;
global $user;
global $pass;
global $sDebug;
$con = mysql_connect($server,$user,$pass);
I have an include file which sets those variables, as I say they work on other pages and functions..
No idea why ??