mkdir and rmdir possible but not readdir and opendir???
| From: | raisinlove | Date: | Sat, 28 Feb 2004 14:47:06 +0000 |
| Subject: | mkdir and rmdir possible but not readdir and opendir??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179073@lists.php.net to get a copy of this message | ||
Hi, I'm having trouble understanding why I can create and delete directories with my script via mkdir and rmdir, but not simply being able to read them with opendir or readdir?
For example, when I attempt to access these directories with opendir, I get this error message:
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 789 is not allowed to access...
Safe Mode is on as I am hosted on a shared server and cannot change this. Surely there's a work-around for this?
Any helpfull input would appreciated
Thanks,
-s