RE: [PHP] Fopen and streams

2004-01-29 Thread Mike Migurski
>Secondly, where is a good place to read on the standards and formats used >by these different schemes. In the fsockopen() func, I made some writes >to 'GET / ' and 'HTTP 1.1' etc... After reading the script, I understand >what these imply, but not the importance, also, what other commmands are >a

RE: [PHP] Fopen and streams

2004-01-29 Thread firephreek
uot; Crown -if God had meant for me to sleep right now, he wouldn't have invented penguin mints. Now in Cinnamon! -Original Message- From: stryder [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 7:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Fopen and streams Hi, fir

[PHP] Fopen and streams

2004-01-28 Thread stryder
Hi, first time poster here. Having some trouble with a line that used to work, but doesn't now. $pg = fopen("http://$ip/mypage";, "r"); Gets me: Warning: fopen(http://10.1.1.233/mypage): failed to open stream: HTTP request failed! And then it spits out the data from that page anyways. What