Re: Re: writing source code to file

From: Date: Wed, 18 Aug 2004 02:34:18 +0000
Subject: Re: Re: writing source code to file
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-194107@lists.php.net to get a copy of this message
Hannes Magnusson wrote:
file_get_contents("http://www.yoursite.com/script.php");
I belive that this method will hang for ever since the script doesnt exit until file_get_contents() has got the complete results.. ...and the complete results wont be ready until file_get_contents() returns.
There are no problems with using a method like this. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#194107) next »