Re: [PHP] Fwd: fopen for http://

2005-06-01 Thread Richard Lynch
fopen() most likely is not sending the same kinds of headers that an HTTP connection would send, which is what you are really checking in httpd.conf (Which might not be all that secure, come to think of it...) Anyway, you should dump out the data you test in the restricted page, and surf to

[PHP] Fwd: fopen for http://

2005-05-27 Thread Jay Paulson
Hello all- I was wondering if anyone knew of a way to call a web site using fopen. Let me tell you how things are set up and what I'm trying to do. I can call fopen to read a site and then echo it back out. That's not a problem. The problem I run into is when I try to go to a restricted