Thanks for the help and the following is the details pertaining to my problem:
Currently, i am involved in the migration of ASP/Sqlserver based application to a platform independent tool. And, i am thinking of migrating ASP script to php script. But on the database,
i do not want to migrate the current sqlserver(6.5) since it is stable.
And ultimately, the php script will be run on a unix based apache web server.
But for testing purpose, i am using windows version of php, the latest version 4.0, along with
sqlserver 6.5, all are sitting on the same windows NT server 4.0 server machine.
And in this process, when i restarted my NT server after configuring the php.ini file, i got the
following error in tandem:
Unable to load dynamic library \"./php_mssql70.dll\". the specified module could not be found.
At least one service or driver failed during system startup. use event
viewer to examine the event log for details.
After this, when i ran a test script(test1.php) in the browser, i got the following error:
Fatal error:Call to undefined function: mssql_connect() in
C:\Inetpub\wwwroot\test1.php on line 4
And the script test1.php is as follows:
////////////////////////////////////////
<body>
<?php
$db = mssql_connect(\"(localhost)\",\"root\");
mssql_select_db(\"pubs\",$db);
$result = mssql_query(\"select * from authors\",$db);
echo \"<table border=1>\n\";
echo \"<tr><td>Id</td><td>FName</tr>\n\";
while ($myrow = mssql_fetch_row($result)) {
printf(\"<tr><td>%s %s</td><td>%s</td></tr>\n\", $myrow[1], $myrow[2], $myrow[3]);
}
echo \"</table>\n\";
?>
</body>
////////////////////////////////////////
Please note that i am trying to connect to sqlserver 6.5 using the driver php_mssql70.dll driver.
Need your help to fix this.
Thanks and regards,
Murug