PDA

View Full Version : How to: Automatically CHMOD uploaded files.


Zacarias
03-14-2006, 10:56 PM
I figured out a way to automatically CHMOD uploaded files.

My host's default setting is set to 600. If you're getting 403 errors while looking at your images, and you don't feel like making a custom php.ini file, just do this simple edit.

Open upload.php in your photoplog folder.

Find:
Content visible to registered users only.

Under it, add:
Content visible to registered users only.

And it should work. It worked for me. ^_^