PHP can't 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
Jubbens
Forum Newbie
Posts: 6
Joined: Sat Jun 04, 2005 4:54 pm

PHP can't upload?

Post by Jubbens »

Hi. I'm a newbie to the forum and a newbie to php.

I've tried 4 different php upload scripts, but none of them work. They all say "upload failed" or some other generic error. I've looked through php.ini to check the settings, and this is what it's like:

safe mode: off
register globals: on
uploads: on

It's php 4 on apache on a Fedora Core 3 web server. Is there anything else I should check? I've been at this all day. Thanks.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

If you are using some FTP client s/w then Right click the folder you are trying to upload to and see if write permission is set for public.
If you see CHMOD then set it to 777.
Post Reply