Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

redirected to password protected url directories

3:18 pm on Aug 20, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 15, 2002
votes: 0

I want to write a simple php script that redirects to a url on the web that is password protected/requires authentication, e.g. abc.com/members such that the behaviour is the same, the user/pass box comes up. I don't want to user header->location, but neither include nor fopen seems to work on such a URL. Is there a solution, I just get an error - cannot open <URL location>...parse error, etc..
11:53 pm on Aug 20, 2002 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

Frames might be the way to go on this one.

If you are getting a parse error it sounds like it is choking on something on the page you are including.