Hi!,
I have a problem with sendFile() with large files (20MB).
$path = Yii::getPathOfAlias('application.uploads').DIRECTORY_SEPARATOR.$id_cliente.DIRECTORY_SEPARATOR.$nombre_archivo;
Yii::app()->getRequest()->sendFile(basename($path), @file_get_contents($path));
It works great with small files but 20MB or more fails. A white page appears and thats it…
Any suggestion? is there a problem with rules in php.ini?
Thanks!