<?php
mkdir ("test", 0777);
chmod ("test", 0777);
chdir("test");
mkdir("subtest",0777);
chmod ("subtest", 0777);
?>
I get the following warning
Warning: chdir() [function.chdir]: SAFE MODE Restriction in effect. The script whose uid is 504 is not allowed to access test owned by uid 48 in /home/virtual/site2/fst/var/www/html/ahmed/safetest/test.php on line 4
i have disabled safe mode for the site and tried disabling it for the server!!!