Jump to content

ODBC PHP connection problem


billf

Recommended Posts

OS=2k3, MSSQL, PHP 5.xx IIS 6

 

i am using the following code. the ODBC connection passed when i set it up. the code connects and runs fine when i run it from the command line. ie: 'php test_sql_conn.php' but when i try to run it on the browser i get nothing. there are no errors displayed.

 

$conn = odbc_connect('SERVER','User','Pass');

if ($conn)

....

else

echo "odbc not connected";

 

i am thinking maybe there is some permission problem but i am new to this so i really don't know

 

thanks,

Bill

Link to comment
Share on other sites

  • 3 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.