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]
|