Posted by Janwillem Borleffs on 06/24/05 23:37
jon.berg@gmail.com wrote:
> For example file('http://someurl.com/') do not return the content of
> that page.
>
Does file() work when requesting "http://www.google.com/"? Then the site you
are probing requires more headers (e.g. user-agent, cookies) than the file()
function provides by default. Try opening the site in FireFox with the
LiveHeaders extension installed and check the received headers.
It is also possible that some boxes simply do not have access to the site,
in which case the configuration of the machine hosting the site should be
modified.
JW
Navigation:
[Reply to this message]
|