Hi Electroteque,
Am Dienstag den, 3. September 2002, um 10:14, schrieb Bas Jobsen:
hi there i was wondering if there was a way to limit the
ammount of items
in a loop to execute sleep then execute the rest of the items
to prevent
server load ?
for($i=0;...)
{
hi there i was wondering if there was a way to limit the ammount of items in
a loop to execute sleep then execute the rest of the items to prevent server
load ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Op dinsdag 03 september 2002 10:46, schreef u:
hi there i was wondering if there was a way to limit the ammount of items
in a loop to execute sleep then execute the rest of the items to prevent
server load ?
for($i=0;...)
{
if($i0$i%100==0)sleep(10);
}
--
PHP General Mailing List
3 matches
Mail list logo