Reply to Re: What are the requirements for opening a url?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация