Posted by Fran Garca on 10/26/05 20:45
I´m developping an application and i need to protect some files to be
seen only by the registered users. I protect the folder with the
..htaccess properties and then, any time the user need a protected file,
the application call a function like
downloadfile.php?filename=<filerequired>.
The problem now is when the file is bigger than 10Mb, it doesnt´work and
it return an error. I´m using Apache on a Suse 9.1 distribution and the
function which returns the content file is file_get_contents(). Which
configuration file must I update to solving this problem.
I´ve readen the php.ini and the httpd.conf but I haven´t seen any
variable to solve this.
Thanks in advance for your answers.
Fran García
Navigation:
[Reply to this message]
|