Posted by Siebie on 01/21/07 16:24
"Batmanuel" <antonioetayo@gmail.com> wrote in news:1169342255.121748.236010
@l53g2000cwa.googlegroups.com:
> Good evening people, little question here... I'm trying to get this
> file upload script to work but it tells me that move_uploaded_file()
> fails because it doesn't have permission for the /tmp directory where
> the file is before the move. I would chmod /tmp itself but wouldn't
> that be a big security risk? is there another solution?
>
> Thanks for any help you can provide...
>
Did you notice the /tmp folder should exist on your webserver, not on your
local drive? I made that mistake earlier and it took me quite some time to
solve the problem...
--
Siebie
Navigation:
[Reply to this message]
|