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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening a file protected by a .htaccess in a php script 2

Status
Not open for further replies.
In more specific to your problem, I see a couple of things wrong with your use of fopen().

First is the fact that the URL should be a string -- you haven't put quotes around the URL.

Second is that you don't have a open mode specified.

Want the best answers? Ask the best questions: TANSTAAFL!
 
has anyone got this to work? I still cant get it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top