You are here: Max filesize to open it « PHP Programming Language « IT news, forums, messages
Max filesize to open it

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация