Hello,
This is a strange one! I'm getting blank results for mssql_connect. I created a simple testmssql.php page with the following code:
Here's the strange part:
1) I get a blank respone for mssql_connect function
2) Even, stranger, if I shut down IIS, this works like a charm!!
My Environment:
PHP 5.2.6.6 (Installed C:\Program Files\PHP)
IIS 6.0 (Windows Server 2003)
.php configured to ""C:\Progra m Files\PHP\php-cgi.exe", All Verbs, Script Engine checked.
Any ideas?
Thanks!
M
Troubleshooting Step:
I removed the @ from @mssql_connect and I get the following error:
PHP Fatal error: Call to undefined function mssql_connect() in ..... line 15.
This is a strange one! I'm getting blank results for mssql_connect. I created a simple testmssql.php page with the following code:
Code:
<?php if (function_exists('mssql_connect')) { die("Your PHP installation does not have MSSQL support."); } echo "Connecting..."; echo "<BR>"; $hostname = "ServerName"; $username = "UserName"; $password = "pwd"; $db = mssql_connect ($hostname, $username, $password); if ($db){ echo "no connection"; }else{ echo "connected"; } ?>
1) I get a blank respone for mssql_connect function
2) Even, stranger, if I shut down IIS, this works like a charm!!
My Environment:
PHP 5.2.6.6 (Installed C:\Program Files\PHP)
IIS 6.0 (Windows Server 2003)
.php configured to ""C:\Progra m Files\PHP\php-cgi.exe", All Verbs, Script Engine checked.
Any ideas?
Thanks!
M
Troubleshooting Step:
I removed the @ from @mssql_connect and I get the following error:
PHP Fatal error: Call to undefined function mssql_connect() in ..... line 15.
Comment