file upload problem

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
User avatar
phpcoder
Forum Contributor
Posts: 158
Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK

file upload problem

Post by phpcoder »

hello
i have linux 8.0 and php4.3 when i try to exeute file upload script i got err
can not read......
but if i execute the same script on linux 7.2 it works well with php 4.0
plz help
i have set 777 permission on directory where the file is to be copied..
bionicdonkey
Forum Contributor
Posts: 132
Joined: Fri Jan 31, 2003 2:28 am
Location: Sydney, Australia
Contact:

Post by bionicdonkey »

your code probably isn't compatible with the new php version.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Or maybe a setting needs to be changed. :?

Got a snipplet and an exact error messege?
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

after 4.2 you'd need to access all file variables through the $_FILES array and not through global scope or even $HTTP_POST_FILES - just means you need to update/upgrade your script.
Post Reply