Restrictions on image upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
esgyrn
Forum Newbie
Posts: 1
Joined: Wed Dec 02, 2009 6:02 pm

Restrictions on image upload

Post by esgyrn »

Could anyone help me with an apparent permission problem? I've got a simple CMS which creates a new directory when you press a button and then should let you upload pictures to that directory. The MKDIR works OK (and the directory is CHMODed to 777) but images will still not upload to the directory.
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: Restrictions on image upload

Post by cpetercarter »

Have you enabled error reporting, and if so are you getting error messages? How big are the images that you want to upload, and are they smaller or bigger than the php upload limit on your server (typically 2MB)?
Post Reply