Posted by Milan on 04/23/07 13:43
Check that allow_url_fopen is set to on (e.g. using phpinfo()).
Also, the website might refuse to serve non-browser client (it might
be checking for HTTP_AGENT value). Update the value in php.ini, to the
one used by some browser.
If that didn't work, than you might be the victim of the same bug as
me :). On my server I can't open short URLs.
Add say 100 characters to the URL u r opening and retry.
e.g. fopen("http://yourserver.com/somepage.html?
add_dummy_letters=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","r")
That worked like a charm for me (a quick fix untill I figure out what
is the actual problem).
[Back to original message]
|