im trying to create directories on my server but i keep running into this:
Warning: SAFE MODE Restriction in effect. The script whose uid is 598 is not allowed to access /home/virtual/site78/fst/var/www/html/icommunicator/clients/demo/collaborator_lite/2 owned by uid 48 in /home/virtual/site78/fst/var/www/html/icom_admin/product/add_collab_lite.php on line 37
$path = "/home/virtual/site78/fst/var/www/html/icommunicator/clients/demo/collaborator_lite/".$program_id;
$path = addslashes($path);
$oldumask = umask(0);
mkdir($path, 0775);
umask($oldumask);
$oldumask2 = umask(0);
mkdir($path."/doc_files", 0775);
umask($oldumask2);
i can create the first directory ok..but the second one...that goes inside the dir that was previously created (in this case: "/home/virtual/site78/fst/var/www/html/icommunicator/clients/demo/collaborator_lite/".$program_id) keeps giving me the above error.
i dont get it.. that dir is being created with php so shouldn't i be able to dump stuff into it with php?
confused
any help is much appreciated...ive never ran into these errors before (i guess none of my previous servers have had safe mode restrictions turned on)