file upload change php.ini



I have written a script for user to upload file from client's computer to the server!
I currently experiencing a problem. The upload function only work if the file is < 512KB!!
I have already changed the setting "upload_max_filesize" to 100M in the php.ini file.

Also, I changed the "max_execution_time" to 3600!!

Is there other setting that I have to change in order to upload some large files (> 512KB)???

Any suggestion??

I know it isn't maybe that likely but do you have a hidden field that restricts the size in your file upload form. Just if your form was created in an html editor it might have put in a hidden field to restrict the filesize.
issue set_time_limit(0); at the top of the script. This will make it so the script does not timeout.