jemz — 2012-06-15T07:33:02-04:00 — #1
I am making page that will upload,this is my first time to make a page that will upload just practice for me.
when i upload picture there is nothing wrong it works perfectly but when i tried to upload movies.1.5gb it will not upload and it will not display errors.how can i manage this or handle this if my page will not accept that big size and i want to display or echo "Upload file exceed."...
Please help me Thank you in advance.
cpradio — 2012-06-15T07:53:54-04:00 — #2
To change the limit, you need to update the php.ini file and restart apache/iis.
As for the validation, there are many php file upload validation results on google
starlion — 2012-06-15T08:07:19-04:00 — #3
For the record, I would NOT handle a file 1.5 GB in size through HTTP. Use a protocol designed for it, like FTP.
jemz — 2012-06-16T09:14:34-04:00 — #4
Hi StarLion, i dont know how to use the FTP in php.can i asked some help with you this.
Thank you in advance.
jemz — 2012-06-16T09:17:10-04:00 — #5
Hi,thank you for the reply..but how can i change the php.ini ? please guide me...
cpradio — 2012-06-16T17:27:50-04:00 — #6
Are you on a dedicated server or a shared host? If you have a dedicated server, you php.ini will be located in the apache2 conf folder. If you are on a shared server, you can't edit it. Most shared hosts do not permit you to change those settings.
jemz — 2012-06-17T08:31:35-04:00 — #7
I am just working in my P.C localhost...so if it is in apache2 conf folder what's next thing to do?.Thank you in advance.
cpradio — 2012-06-17T13:47:40-04:00 — #8
Well working locally, it may or may not be in the apache2 conf folder, it may be in your php installation folder. You are looking for the php.ini file, then you want to open it and look for max_upload_size
jemz — 2012-06-19T08:46:56-04:00 — #9
Hi,sorry for the late reply...Thank you so much cpradio for helping me.Okay i will try this.i will write back again if i have doubt.