Paul Schmidinger wrote:[color=blue]
> Hi,
>
> I created a directory with PHP mkdir (mode 0777). Then I try to
> move_ulpoaded_file() to move a file into this directory. I get an
> error:
> Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The
> script whose uid is 1999 is not allowed to access
> /home/www/ww4592/html/fs/PHP/Dateien/Bereich_1/NEUER_ORDNER owned by
> uid 33 in /home/www/ww4592/html/fs/PHP/File.php on line 57
>
> The webspace is at a webhost-company, not on my own server. I think I
> understand the restrictions of SAFE MODE, but I do not understand why
> a script has another uid than a directory created by the very same
> script!
> Is the error above the "normal" bevaviour if SAFE MODE is on?
>
> If it is: That is a drastic limitation. If I say to a client "I need
> webspace with PHP" and I get that SAFE MODE-stuff would it not be
> right to say that that is no fully working PHP-Webspace? I mean a
> webspace that does not allow a directory to be created and a file
> moved into it does not really support PHP -- it's a joke! Any
> opinions?
> Thanks and sorry for my maybe bad English,
> Paul Schmidinger
> --
www.eigelb.at[/color]
Ask host to set a more relaxed GID check