I have a call to wget that transferres a file of about 30 meg at about 1
meg per second. This has the user waiting 30 seconds or so before the
page responds. What I want to do is send the ouput of wget while it's
happening, which is proving a bit iffy.
$modprog = popen('/path/to/wget/shell/script', 'r');
$buffer = fopen($modprog, "1");
$display = fgetc($buffer);
echo $display;
pclose($modprog);
doesn't work for what may be obvious reasons to those in the community.
I don geddit. Any suggestions please?
--
Virtue is its own punishment.