scotte Posted May 26, 2008 Posted May 26, 2008 Is there a way for me to set a maximum image size as in kb (kilobytes) so as to reduce the maximum size of photo can be uploaded and thus conserving space on the server!? Possible?? Cheers
♥geoffreywalton Posted May 26, 2008 Posted May 26, 2008 Add a test in admin/categories.php This link should start you off http://www.w3schools.com/php/func_filesystem_filesize.asp Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
scotte Posted May 26, 2008 Author Posted May 26, 2008 I have tried quite a few php scripts like the function you have written. It is too dificult to impliment as there is no real form field but rather a php file with the form hidden inside over 1000 lines of code..
spooks Posted May 26, 2008 Posted May 26, 2008 There is a phph.ini setting you could use: upload_max_filesize You can also add a setting to the form: <input type="hidden" name="MAX_FILE_SIZE" value="bytes"> B) Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.