Forum Moderators: coopster
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