Remote url upload counter and Progress bar

toom30032400

New Member
YetiShare User
Wurlie User
Apr 12, 2013
21
0
1
45
Saudi Arabia
free-link.org
Hi Mr Adam
about the counter and Progress bar while upload from remote url link the counter notwork correctly and may not work till 1gb for examble can you considering this issue and replaced the progress icon with animated progress bar it will be perfect

thanks Hatem yahia
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
If the progress indicator isn't working it's likely an issue with output buffering on your web server. Make sure FcgidOutputBufferSize isn't 0 in Apache and it's also enabled in your PHP config. Use this test script to check it on your install:

Code:
<?php
header('Content-type: text/html; charset=utf-8');
// 1KB of initial data, required by Webkit browsers
echo "<span>" . str_repeat(" ", 1000) . "</span>";
echo 'Begin ...<br />';
for( $i = 0 ; $i < 10 ; $i++ )
{
    echo $i . '<br />';
    ob_end_flush(); 
    ob_flush(); 
    flush(); 
    ob_start();
    sleep(1);
}
echo 'End ...<br />';
?>
It should output a new number every second. If it waits 10 seconds then outputs all at once, output buffering is not working and the progress indicator will not work.