Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS SQL failing when in Password Protected Directory

Status
Not open for further replies.

3Y3

Programmer
Sep 18, 2001
45
CA
Hi,

A recent project of mine is just in a snag right now. Any php pages that are stored in a password protected folder on our site (using our own web server) do not connect to ms sql anymore. The code is correct and works when in a non-password protected directory, however the moment its back in this protected development folder I get: "Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource".

I'm sure its just a setting in either php or on our web server that I need to edit but alas I can't find a solid answer. FYI we are using Sql 2000 and windows 2003 server. Thanks.
 
personally I would store the connection file in the cgi-bin and include it in the password protected dir . anyway with mysql I don't know this problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top