fetch html-page without file()

From: Date: Fri, 12 Jan 2001 09:27:27 +0000
Subject: fetch html-page without file()
Groups: php.general 
Request: Send a blank email to php-general+get-34223@lists.php.net to get a copy of this message
Hi! Something strange: A script, that uses file("http://xyz.com") does work on one sever! Then I copied it to another server (physically more far away from the server from which I fetch the html-page with file()) - same PHP ... Now file() returns always an empty string (about in 1 try out of 1000 it is successful!!!! - I tested it!!) Is there another method, to fetch a html-page? PHP runs in safe mode - so '$source=lynx -source http://xyz.com/`' won't work! thanks witty -- Sent through GMX FreeMail - http://www.gmx.net

« previous php.general (#34223) next »