You are here: php script appearance in the time « PHP Programming Language « IT news, forums, messages
php script appearance in the time

Posted by lionel on 08/15/07 06:31

Hello,

This is a simple script I test in a browser (firefox & opera) :

echo "test 1<br />" ;
sleep(3);
echo "test 2<br />" ;

I expected to see "test 1" appearing first and then "test 2" 3 sec after.
Still, I got "test 1" & "test 2" appearing "in one shot" after 3 seconds.
How can I get what I expected (I precised in a browser because there's no pb
in a command line execution) ?

Thanks in advance,

Lionel

 

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

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