Reg file downloading
Posted: Sat Jun 04, 2005 1:55 am
I m facing a probs in allowing file downloads. The probs is i m able to download files of size <= 2Mb but not more than this .. The script i m using is
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=". "paper.pdf");
readfile($link);
where $link is path to file which i wanna download .. I m using apache server in linux .. any suggestions ??
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=". "paper.pdf");
readfile($link);
where $link is path to file which i wanna download .. I m using apache server in linux .. any suggestions ??