guitarman fourth grade
Joined: 04 Nov 2005 Posts: 728
|
Posted: Sun Jul 15, 2007 9:29 pm Post subject: if u can't change php.ini and wanna allow users to upload mo |
|
|
If you are just like me wanna enable users to upload more than 10 pictures at a time using activeX component and can't access OR do not know how to setup the php.ini files in the server, you can write a HTAccess code to upload and change the file.
Please note that the ini_set won't be able to change the post_max_size variable and hence we need the htaccess.
| Code: |
<IfModule mod_php4.c>
php_value upload_max_filesize 50M
php_value post_max_size 50M
</IfModule>
- means 50MB upload limit. |
Courtesy of: http://au2.php.net/move_uploaded_file
|
|