sigmadog Posted February 14, 2009 Share Posted February 14, 2009 I'm trying to set up an image upload section for clients to submit fairly large image files (up to 30Mb) for use on their design projects. Since I am not on a dedicated server, I cannot modify the PHP.ini file, but my understanding is that I can set higher upload and time limits on a directory basis by using a .htaccess file. Is this correct? If so, is there any specific technique I must use in my PHP code to recognize the .htaccess file, or is it automatic? This is undoubtedly the start of many questions I will have as I put this together (I'm a print designer with just enough PHP knowledge to really screw things up). Thanks for reading this far. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted February 14, 2009 Share Posted February 14, 2009 You just need to add something like the following to your .htaccess file >php_value post_max_size 30M php_value upload_max_filesize 30M 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.