[PHP] Problems in uploading files due to upload_max_filesize
I have a problem with transfer of Image files to the server. I've checked with the aid of phpinfo on my service provider's server and this is what I found upload_max_filesize 200K. My page needs to upload 9 images simultaneously each one of them having the size between 45 kb to 50kb, Can any one help me with this? Thanks again. GD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problems with uploading files
Hi, I have a problem with a php script that enables people to upload files on my server. I don't know if this is a general problem or if you need to see the script. It works fine with small files, but as soon as I try to upload files with a size of a couple of MB, if (is_uploaded_file($file)) returns false. I wonder why that is! Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problems with uploading files
You need to set your php memory limit to twice the amount of any given file you upload. If your memory limit (default 8M) is not twice the size of the file(s) being uploaded it will not work. look in php,ini HTH Quoting Oliver Witt [EMAIL PROTECTED]: ### Hi, ### I have a problem with a php script that enables people to upload files ### on my server. I don't know if this is a general problem or if you need ### to see the script. It works fine with small files, but as soon as I try ### to upload files with a size of a couple of MB, if ### (is_uploaded_file($file)) returns false. I wonder why that is! ### Kind regards, ### Oliver ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problems with uploading files
You need to set your php memory limit to twice the amount of any given file you upload. If your memory limit (default 8M) is not twice the size of the file(s) being uploaded it will not work. look in php.ini HTH Quoting Oliver Witt [EMAIL PROTECTED]: ### Hi, ### I have a problem with a php script that enables people to upload files ### on my server. I don't know if this is a general problem or if you need ### to see the script. It works fine with small files, but as soon as I try ### to upload files with a size of a couple of MB, if ### (is_uploaded_file($file)) returns false. I wonder why that is! ### Kind regards, ### Oliver ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php