December 3rd, 1999, 02:44 AM
I've try to connect to SQL Server using this script :
$con = mssql_connect("extreme","db","xx");
but I always get this message every time :
Fatal error: Call to unsupported or undefined function mssql_connect() in crogra~1apache~1apachehtdocs/script/coba.php3 on line 2
I had the "php3_mssql.dll" files and I've uncomment the "extension=php3_mssql.dll" line on the php3.ini file.
I don't know what should I do again. Anyone can help me ? Please.
December 8th, 1999, 10:14 AM
I don't have any experience with PHP/Apache on Win32 but have you tried restarting Apache? That way the php3.ini file gets reloaded and the extensions get activated (I *think*, don't start bashing me if this doesn't work )
December 8th, 1999, 10:46 PM
I've tried that, still doesn't work.
I do find something strange ..
At my home, I try first I try using mssql_connect(), but it fail. Then I try using odbc_connect() and it work. After the ODBC way work, I delete the ODBC setting (so that I can't connect using odbc anymore), and I try using mssql_connect() again. IT WORK !!!
I've try that again at my office, but it doesn't work.