All pastes #271759 Raw Edit

Untitled

public text v1 · immutable
·published 2006-12-08 12:53 UTC
rendered paste body
mkdir("user_images/$user_id",octdec(777));
mkdir("user_images/$user_id/big",octdec(777)) or die("chmod!");
mkdir("user_images/$user_id/thumbs",octdec(777)) or die("chmod!");



The error I get is:

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10017 is not allowed to access /home/httpd/vhosts/domain.com/httpdocs/script/user_images/7 owned by uid 48 in /home/httpd/vhosts/domain.com/httpdocs/script/includes/process.php on line 40
chmod!