You are here: Re: terminal php « PHP Programming Language « IT news, forums, messages
Re: terminal php

Posted by adlerweb on 09/08/06 11:23

Just echo a \r

echo "10%";
echo "\r20%";
echo "\r100%\n";

should do the job

Iain Adams schrieb:
> Hey I want to be able to show a percentage complete number in a
> terminal, such that when the percentage gets bigger it replaces the old
> value on the terminal screen. At the moment I just echo the value and
> in the terminal window the values appear 1 after the other. i.e
> 123456789101112 but i want the new values to replace the old ones. Is
> this possible
>

 

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

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