How to Download Large files using php
Posted: Sun May 16, 2010 10:19 am
Please help me to to know how to download a large file ( size 500mb) using php
i had used the following code which dosent work for me for downloading large files
$fd = fopen ($file, "r");
while(!feof($fd)) {
$buffer = fread($fd, 2048);
echo $buffer;
}
fclose ($fd);
i had used the following code which dosent work for me for downloading large files
$fd = fopen ($file, "r");
while(!feof($fd)) {
$buffer = fread($fd, 2048);
echo $buffer;
}
fclose ($fd);