php question??
| From: | Andy Gamble | Date: | Tue, 31 Oct 2000 16:27:50 +0000 |
| Subject: | php question?? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4070@lists.php.net to get a copy of this message | ||
Hi All,
Any chance of an answer to my quick query. I am just getting in PHP coding
and thought it would be a nice idea for it to interface with a basic Sybase
server I have running within my company. I have installaed Apache on my
Windows NT 4 SP6 box along with PHP4.04 and copied the php_sybase_ct.dll
file to the winnt\system32 directory. I have also gone into the php.ini and
uncommented the extensions section for the sybases function to work.
I have tested the standard PHP4 functions and all appears to work A-OK.
However when I put the following script into my page I get a Dr. Watson on
my PHP.EXE file and it just bombs out of the code.
Code I use is.....but obviously enclosed in '<?php' and '?>':
$connection = sybase_connect("EXCALDEV01","sa","password") or
die("Couldn't
make connection.");
Any help would be appreciated.
Thanks
Andy
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup