I am seeking a way to allow my users to upload files as large as 1 GB,
What’s stopping me is the ini directives of the company i rent hosting from(200 GB on a shared server).
post_max_size is 8M
upload_max_filesize is 2M
memory_limit is 2M
I was trying to overwrite those settings using ini_set, and by editing the php.ini
file in my directory, but i didn’t succeed.
One of the users at php.net posted an FTP upload script, would tat sort my situation?.
Does these directives apply to the files in temporary files too, or just to those I’m trying to move to a permanent location?
Are there any cheap hosting providers that will allow me to upload up to 1 GB
using HTTP upload?(1 GB is not mandatory, i could settle for less)
Can i split the files users send to 2 MB packets in some manner and then reunite those packets to the entire file back on the server?
Please help me, guys
EDIT:
I did some research, and it turns out that uploading file through FTP with PHP, or into a database first requires an HTTP upload(duh), as far as i seen splitting the file into small packets is not possible, at least not with PHP, because the lack of access to the POST_RAW_DATA.
So my only option is find out how to access the .htaccess at Godaddy, or find other cheap hosting provider that allows that kind of access.