Elshadi85 Posted January 11, 2007 Share Posted January 11, 2007 Hello,Ive written a simple script to upload files to my server. The script does perform properly and uploads files, but when I try to upload a large file (say 10mb+) the form will not completely submit, but rather refresh after a few seconds.Does anyone know if this is being caused by something that I am not doing correctly in my script, or server configuration?Any help would be appreciated.I have attached the simple PHP page that I was using to do this.[attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/33777-uploading-large-files/ Share on other sites More sharing options...
Gruzin Posted January 11, 2007 Share Posted January 11, 2007 Did u check your php.ini [b]upload_max_filesize[/b] value? it should be more then 10mb...Regards,George Link to comment https://forums.phpfreaks.com/topic/33777-uploading-large-files/#findComment-158396 Share on other sites More sharing options...
Elshadi85 Posted January 11, 2007 Author Share Posted January 11, 2007 Yes, I set that value in the php.ini file to 15M.Currently, it is the only line in the php.ini file for that directory, and it appears as follows:upload_max_filesize = 15M Link to comment https://forums.phpfreaks.com/topic/33777-uploading-large-files/#findComment-158397 Share on other sites More sharing options...
Gruzin Posted January 11, 2007 Share Posted January 11, 2007 OK, wich version of php are u running? maybe you should also change [b]post_max_size[/b].Regards,George Link to comment https://forums.phpfreaks.com/topic/33777-uploading-large-files/#findComment-158401 Share on other sites More sharing options...
Elshadi85 Posted January 11, 2007 Author Share Posted January 11, 2007 I added that directive as well, hut still no luck.Are you not seeing anything wrong with the PHP script that I attached to the original post? Link to comment https://forums.phpfreaks.com/topic/33777-uploading-large-files/#findComment-158424 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.