PHP upload form, need help...

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
WithHisStripes
Forum Contributor
Posts: 131
Joined: Tue Sep 13, 2005 7:48 pm

PHP upload form, need help...

Post by WithHisStripes »

Heya,
If you visit http://www.cabinetsource.biz/admin_upload_form.php and try to upload a file you'll see that it says "change permission too 755 failed"
I don't know what this means!? I assume it means that I can't upload anymore files because it doesn't matter what file type you use and I haven't modified the script since I uploaded it and it was used. Can anyone help? Thanks!
User avatar
akimm
Forum Contributor
Posts: 460
Joined: Thu Apr 27, 2006 10:50 am
Location: Ypsilanti Michigan, formally Clipsburgh

Post by akimm »

You need to CHMOD your file via FTP like 'filezilla'. That is to say its your server, if not you have to ask the admin. to change the permissions of that file so you can access it. That should solve your problem, typically html docs are a 644, php runs 755 (typically).
WithHisStripes
Forum Contributor
Posts: 131
Joined: Tue Sep 13, 2005 7:48 pm

Post by WithHisStripes »

Awesome. You were right on. Thanks so much! I changed it to 777 and it worked great.
Post Reply