Possible Duplicate:
Update Command-line Output, i.e. for Progress
Is it possible in PHP to update the output of PHP via command line? For instance, echo "50%";
will add that to the output, how can I make it so that it shows Updating files... 41%
but the % changes based on the progress of the script?