hi
i resolved the problem i forgot this lines [?][?]
$this->getResponse()->sendHttpHeaders();
$this->getResponse()->setContent(readfile($path));
thanks ftassi for your reply
2011/4/27 Hamza Tlili
> thanks for your reply
> i changed the upload _dir as you said i followed the example but the siz
thanks for your reply
i changed the upload _dir as you said i followed the example but the size of
the file always 0 octet
thanks
2011/4/26 ftassi
> In order to avoid unwanted downloads you have to put your file outside
> your web dir (maybe you can store files in data/). This will prevent dire
In order to avoid unwanted downloads you have to put your file outside your
web dir (maybe you can store files in data/). This will prevent direct
download (apache will not able to reach your files).
The next step is to implement an action that read and serve the file, only
fot authorized user