[nycphp-talk] FTP client
Wellington Fan
beef at interport.net
Mon Jan 13 10:35:57 EST 2003
Hello List,
> you may not be able to show process
> indication on Php if you are trying to create HTML output. But
I think you *might* be able to show a progress bar by using print() &
flush():
<?php
$imgsrc = '<img src="/images/status.gif" width="1" height="15" alt=""
hspace="0" vspace="2">';
for($i=0; $i < 1000000; $i++) {
print ($imgsrc);
flush();
}
?>
Where status.gif is a thin little slice of a progress bar. I tested the
above code and it seems to work.
--
Wellington
More information about the talk
mailing list