law Posted July 26, 2008 Share Posted July 26, 2008 I am working for an organization at a large university in my area. The IT department at this university will not let us make any adjustments to their configuration settings AT All. So how can I produce a SAFE $_POST submission system for things like Image uploads and Long text files. I have heard that typically the limit is 2mb. Is there any way "hack" wise that I might could move around this? Multiple $_POST submissions that could be reassembled on the server? or heck anything... I just don't want to have to abandon this project with so many hours into it already. ** Note: I just tested out some issues on their servers and found the limit is much lower then 2mb. I attempted to $_POST several pages of text around 800kb of data, and it would not allow it through. This is a crucial feature of what the organization was wanting to perform on their site. ** Quote Link to comment Share on other sites More sharing options...
toivo Posted July 27, 2008 Share Posted July 27, 2008 If you are allowed to have an .htaccess file in your folder, you can set the following php.ini directives: - post_max_size - upload_max_filesize - max_input_time More info at http://php.net/manual/en/ini.php Quote Link to comment Share on other sites More sharing options...
law Posted July 28, 2008 Author Share Posted July 28, 2008 thank you so very much i did not realize this was a possibility! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.