You're not uploading, you are downloading the file.
And you are using plain php for download, not ZF. ;-)

Greetings
Thomas

----- Original Message ----- From: "sweet-h0n3y" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 05, 2009 4:48 AM
Subject: [fw-general] Error Load for file over 100 MB



i had a pdf file. file's size is 100 Mb. I was Uplaod that file using php
zend application and success. For loading that file, i use this script in
cotroller :
===================================================
public function viewdokumenAction() {
$valFile1 = $_REQUEST['f'];
$valFile2 = $_REQUEST['c_doc'];
$valFile3 = $_REQUEST['c_vendor'];
$this->_helper->viewRenderer->setNoRender(true);
$folderE = $this->view->baseUpldSb."/".$valFile2."/".$valFile3."/
".$valFile1;
//echo "<script>alert('".$folderE."');</script>";
$dokumenNe = file_get_contents($folderE);
$ektensi = explode(".",$valFile1);
$valEks = $ektensi[1];
header("Content-Type: application/$valEks");
// header("Content-Disposition: attachment; filename=$folderE");
echo $dokumenNe;
}
==================================================
for size under 100 Mb, file success for loading. But for size over 100 Mb,
appears warning "file damage or couldn't be repaired" or without warning and
only show "0" with white background. But the file doesn't damage.
How to resolve this trouble and the file could be uploaded?

Thank You before.
--
View this message in context: http://www.nabble.com/Error-Load-for-file-over-100-MB-tp22344783p22344783.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to