Expand|Select|Wrap|Line Numbers
- while($row = mysql_fetch_array($getID)){
- $id=$row['id'];
- $dir='../picture_library/floorplans/'.$id;
- mkdir($dir,0777);
- chmod($dir,0777);
- }
anyway what im trying to do is OBVIOUSLY set permissions to this directory i just created BECAUSE... later on there is an option to delete...
Expand|Select|Wrap|Line Numbers
- unlink('../picture_library/floorplans/'.$id.'');
i just tried this i dont know if it will help but i ran
Expand|Select|Wrap|Line Numbers
- echo substr(sprintf("%o",fileperms('../picture_library/floorplans/'.$id.'')),-4);
ok so now i just ran
Expand|Select|Wrap|Line Numbers
- is_executable();
- is_readable();
- is_writeable();