Hi I try to run a loop to create some directories...
$dir = "/home/virtual/site1/fst/var/www/html/solutions/data/$p";
mkdir('$dir', 0777);
chmod('$dir', 0777 );
While the mkdir works, the directory privileges aren't 777.
Anyone knows why?
I'm running this script on PHP 4.2.2.