You are here: Re: causing a ............. delay in the script « PHP Programming Language « IT news, forums, messages
Re: causing a ............. delay in the script

Posted by Ian Davies on 12/18/06 11:51

Just tried the sleep function it doesnt seem to work
code as follows

echo "$prog_msg";
sleep(1);
echo "$prog_msg2";

The two messages appear at the same time. am i using this function correctly
Thought it might not be long enough delay but same result with sleep(10);
Ian


"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:44a11688$0$79754$dbd4d001@news.euronet.nl...
> Ian Davies wrote:
> > Because this happens so quickly the messags appear at the same time.
> > I wish to have a second delay between the first and second message.
> > How do I insert a delay into my script. This is purely cosmetic just
> > to create the impression that something is churning away uploading
> > the file
> >
>
> http://www.php.net/sleep
>
>
> JW
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация