You are here: How can I read the output from a local php file [fopen()]? « PHP « IT news, forums, messages
How can I read the output from a local php file [fopen()]?

Posted by Al on 02/11/05 22:07

I have a script that needs to read the output, not the file itself, from a local
php file using its absolute address.

Normally I'd simply use $handle= fopen(http://www.whatever.com, 'rb')

However, the webhost [Powweb] just changed their system to use "load balancing"
servers. Now, my script must use the fopen() with a hack as such:

$handle= fopen(http://local.whatever.com, "rb")

But, but, it doesn't work when my script is started from a cronjob, only from a
remote browser.

Any suggestions?

Thanks.....

 

Navigation:

[Reply to this 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

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