Sign in to follow this  
H_o_p_s

[web] PHP upload file limit...

Recommended Posts

Alright, for the server that I'm developing a website on the php.ini has a max upload of 2mb... We need to be able to upload through the browser 8-10mb audio/video files. Is there anyway to get around the upload limit? Can I split the file before uploading, do it through ftp (but within the browser)? Basically I want it easy for the users... click browse and select the file and upload. I don't want them mucking around with FTP (at least not locally). Is there a way to use PHPs FTP functions to initiate and transfer the file? Or is this still limited by the php.ini file (which I can't edit)?

Share this post


Link to post
Share on other sites
What host are you using? Some host allow you to edit values via .htaccess while some allow you to override settings by placing a php.ini in the same directory (for .htaccess, place "php_value name value").

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this