Re: readfile

From: Date: Tue, 11 Jul 2000 14:14:40 +0000
Subject: Re: readfile
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5921@lists.php.net to get a copy of this message
At 10:02 AM 7/11/00 -0400, you wrote: >While it works, it's kinda clunky. Shortcuts? <? for ($x=0; 1; $x++) { $memo='memo'.$x.'.txt'; if ( !file_exists($memo) ) break; readfile($memo); } ?> As a democoder I can only say this: never render anything in multiple passes when you can do it in just one ;)

« previous php.general (#5921) next »