Forum Moderators: coopster

Message Too Old, No Replies

safe mode restriction

         

kristof_v

6:34 pm on Oct 28, 2005 (gmt 0)

10+ Year Member



Warning: touch(): SAFE MODE Restriction in effect. The script whose uid is 856 is not allowed to access /home/johanvdb/domains/johanvdb.be/public_html/images/albums/BK Brasschaat owned by uid 100

this is the error that i get when executing the following code:

while ($row = mysql_fetch_array($result)) {
//directories maken als ze niet bestaan
if (!file_exists('images/albums/'.$row[naam])) {
mkdir('images/albums/'.$row[naam],0777);
}
if(!file_exists('images/albums/'.$row[naam].'/'.$row[naam].'.php')) {
touch('images/albums/'.$row[naam].'/'.$row[naam].'.php');
}

when i look at the rights of the created directories, they have 755, although i set umask to 0777 in the code :s

how can i solve this?

grtz kristof

kristof_v

7:15 pm on Oct 28, 2005 (gmt 0)

10+ Year Member



problem fixed