Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Increasing upload file limits ?
July 15, 2008, 10:32 am
rate this thread
I tried to override this using .htaccess containing line
php_value upload_max_filesize 8388608
But placing this in the upload script folder causes apache errors when
serving scripts in that folder. The error states something like "php_value
not recognized as valid"
In the end I created a php.ini file containing line
upload_max_filesize = 8M
which I placed in the folder containing the upload script.
This works ok but why ? I cannot find any reference to using this approach
to override global php.ini directives ?
Re: Increasing upload file limits ?
Tony B wrote:
It looks OK. Sounds like your host has disabled it in the .htaccess
file. They obviously don't want you uploading large files via http.
Remove the "x" from my email address
JDS Computer Training Corp.