Salve a tutti,
ho un problema che non riesco a risolvere:
Devo connettermi da una pagina php ad un db SQL SERVER 2000
L'architettura del sistema è un pc con WIN2003 SERVER con SQL SERVER 2000 e un altro pc con WIN2003 SERVER + APACHE + PHP.
Per installare apache e php ho seguito questa procedura
- Copy ntwdblib.dll file from your SQL server's \winnt\system32 folder to the \winnt\system32 folder on the PHP box.
- Copy the php_mssql.dll from the 'dlls/' directory in distribution package to your windows/system (Win9.x) or winnt/system32 (WinNT, Win2000, XP) directory.
- Add or uncomment the following line under Windows Extentions in your php.ini file (\winnt\php.ini): extension=php_mssql.dll
reperita qui http://my.php.net/manual/it/ref.mssql.php
Il mio problema è che anche eseguendo questi passi ricevo sempre l'errore
Fatal error: Call to undefined function mssql_connect()
la pagina php è questa:
Ringrazio in anticipo per l'aiuto.codice:... $con = mssql_connect($DB_SERVER, $DB_ID, $DB_PWD) or die("DB ERROR: Connessione non riuscita!!!!!"); ...
Etrix