fread (with fsockopen) returns nothing for CGI file
| From: | James Crowley | Date: | Mon, 06 Aug 2001 18:24:38 +0000 |
| Subject: | fread (with fsockopen) returns nothing for CGI file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61458@lists.php.net to get a copy of this message | ||
Hi,
I am using fsockopen and fread to get the contents of a file on
a server. Everything seems to work fine, except for one url. Opening
http://ad-adex3.flycast.com/server/img/3327812_VBWeb/11196014_Restofsite
/999
Works fine, however,
http://www.burstnet.com/cgi-bin/ads/ad8747a.cgi?uniq=9990
Does not (nothing is returned). (In the browser, they both display
adverts). Do you know why? There is a demo at
http://192.168.0.6/bin/ad-get2.php?url=#theurl#
Replace #theurl# with the url that you want to open... Location: headers
are handled automatically.
Regards,
- James
Editor, VB Web
==================
Web - http://www.vbweb.co.uk
Email - james@vbweb.co.uk
ICQ# - 60612011
Fax - +44(0)8707052859
==================