Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality inv4

From: Date: Wed, 16 Feb 2000 16:54:14 +0000
Subject: Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality inv4
Groups: php.version4 
Request: Send a blank email to php-version4+get-10365@lists.php.net to get a copy of this message
> >But why use it anyway? Why not id-ing them before you post > >by giving them unique names?? > > > server/myfile.php?sanity0=fading&foo=bar&sanity1=gone > > >after that you can catch 'm in a simple loop :? > > too slow. > Well.. I must admit I don't know much about what's more efficient.. but I can't imagine that there is a big difference between these two options.. Anyway, if something like the below is gonna kill your server I think you should upgrade your hardware.. I've used it many times on sites with up to 200k hits/day on a singel machine and never had any trouble :)) $i = 0; $b = true; while($b){ $var = "sanity" . $i; $sanity[$i] = $$var; if(!$$var){ $b = false; } else { $sanity[$i] = $$var; $i++; } } cheers! Bram

« previous php.version4 (#10365) next »