Dnia środa 31 stycznia 2007 14:06, seoeo napisał:
> seoeo napisał(a):

>
> Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The
> script whose uid is 883 is not allowed to access
> ../upload/1170165114-1349075405.jpg owned by uid 1032 in
> /home/strona/html/img.php on line 23
>
> Warning: fopen(./upload/1170165114-1349075405.jpg) [function.fopen]:
> failed to open stream: Sukces in /home/strona/html/img.php on line 23

http://php.mirrors.net.pl/features.safe-mode

"When safe_mode is on, PHP checks to see if the owner of the current script 
matches the owner of the file to be operated on by a file function or its 
directory."

Albo wyłącz safe mode, albo zmień usera plików na wspólnego, albo ustaw 
safe_mode_gid i zmień grupy plików na takie same, wedle uznania. 

-- 
Remigiusz "Enleth" Marcinkiewicz, [EMAIL PROTECTED]
WWW http://enleth.com http://jaskiniabehemota.net
JID [EMAIL PROTECTED]

Attachment: pgpwFZJBdtY2Q.pgp
Description: PGP signature

_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym