Just a comment...

On Tuesday, September 24, 2002 1:39 PM
Jaski wrote:
<snip>
> I tried to copy this file using
> move_uploaded_file($userfile, "/place/to/put/uploaded/file");
>
> and here a strange thing happened. The file was successfully
> copied BUT it had permissions like -rw------ which I interpret as
> only accessible to root. I tried copy() function instead and it
> failed.
>

...having that "permission" doesn't necessarily mean that it's only
accessible to root--unless of course you're running Apache as root, which I
doubt you'd do.

Anyway, if the file was successfully copied why not just try to open it
there?

- E

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to