gustompt
09-04-2006, 11:12 AM
I am having trouble running mssql_close() function on PHP 4.3.4 on Windows 2000, to connect to SQL Server 2000 on a Windows 200 across the LAN. Although it works fine when running with the browser, it fails when i try to run it from the command line...
if (mssql_connect('***.**.*.**','','')==false )
{
fwrite($fh_logfile,date("Y-m-d H:i:s")." - Não foi possivel estabelecer a ligação à base de dados\n") or die("Couldn't write to file. 6");
fclose($fh_logfile);
die("Não foi possivekl estabelcer ligaçao à base de dados.");
}
Do i need to configure something on ISS?
Thanks in advance!
if (mssql_connect('***.**.*.**','','')==false )
{
fwrite($fh_logfile,date("Y-m-d H:i:s")." - Não foi possivel estabelecer a ligação à base de dados\n") or die("Couldn't write to file. 6");
fclose($fh_logfile);
die("Não foi possivekl estabelcer ligaçao à base de dados.");
}
Do i need to configure something on ISS?
Thanks in advance!