Hi guys.,

I have trapped in a very critic situation. I need to upload files without any restriction of file size. I have a uploader developed using Flash and PHP. I have changed the settings in php.ini as follows

upload_max_filesize = 100M
post_max_size = 128M
memory_limit = 512M
max_execution_time = 300
max_input_time = 600

This changes helped me to upload file size of 8MB smoothly. If exceeds 8MB, it shows a javascript error as Expected hexadecimal value and file cannot upload. I cant able to rectify this. Please help.


you need to put a limitation.

Thanks for your reply.. But i cant understand what you are referring as "limitation"..? Could you pls explain...?

if (($_FILES["file"]["type"] == "image/png")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000000000000)))

file size depend on $_FILES["file"]["size"] line


Thanks for your reply.. I changed it as follows...

upload_max_filesize = 750M
post_max_size = 750M
memory_limit = 128M
max_execution_time = 30
max_input_time = 60

These changes has been made in php.ini file in my local wamp apache server. After made these changes, once i restart my wamp service, it allows to upload upto 400MB. But i did not restart wamp service after those changes, it still allows me to upload 8MB. Could you please anybody to help me out this...? Is it possible to make it work without restarting my wamp server...?