fopen url
| From: | John Hagstrand | Date: | Thu, 06 Nov 2003 20:12:09 +0000 |
| Subject: | fopen url | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168782@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to read a URL.
this works: fopen( "http://www.google.com")
this does not work: fopen( "http://news.google.com")
If the URL does not start with "www", then fopen writes and error message
that says "success" and returns false. What's up with that?
Can you help?
I'm using PHP 4.2.2.
Thanks
John