Reply to Re: Show the status of counter

Your name:

Reply:


Posted by Rik on 08/21/06 18:42

mich dobelman wrote:
> I have one script called counter.php (count till 100,000 when this script is
> called).
> I am caling this script through AJAX. I want to be able to show in the html
> page
> where this counter is at the moment.

Only the script knows where it is at the time. It cannot be told to
report how far it is when it is already running.

You could set an extern variable (file, database, etc.) to a certain
value on every 1000 or so 'count', which will be accessable to other
scripts.

--
Grtz,

Rik Wasmus

[Back to original 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

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