PDA

View Full Version : mssql_close()



gustompt
Sep 4th, 2006, 12:12 PM
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!

ttttt
Sep 4th, 2006, 07:20 PM
This is the wrong forum. Ask a mod to delete/move this post. The MySQL forum is the place to ask.