Trouble with Install
| From: | Eric Brophy | Date: | Fri, 05 Apr 2002 17:07:08 +0000 |
| Subject: | Trouble with Install | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6566@lists.php.net to get a copy of this message | ||
Hello,
I am having trouble being able to access the extension dlls in Windows 2000
Server, with the newest version of PHP, running IIS, using the CGI binary
file php.exe. The problem I am having is I get a warning telling me that the
dlls cannot be found. I have tried to change the extension_dir link to where
the files reside but I still get the error.
I am trying to run the script:
<?php
$hostname = "66.17.18.92";
$username = "sa";
$password = "proto_solutions!";
$dbName = "Protosolutions";
MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED
TO RESPOND.");
mssql_select_db($dbName) or DIE("Table unavailable");
$query = "SELECT * FROM users";
$result = MSSQL_QUERY($query);
$number = MSSQL_NUM_ROWS($result);
$i=0;
if ($number == 0) :
print "No data?";
elseif ($number > 0) :
print "Data:";
while ($i < $number) :
$fname = mssql_result($result,$i,"fname");
print $fname;
print "";
$i++;
endwhile;
endif;
?>
Can you please help me out?
Eric
Eric Brophy
Protosolutions.com
http://www.protosolutions.com
eric@protosolutions.com
209-951-6924