Re: mkdir and rmdir possible but not readdir and opendir???
| From: | Jason Wong | Date: | Sat, 28 Feb 2004 17:43:44 +0000 |
| Subject: | Re: mkdir and rmdir possible but not readdir and opendir??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179075@lists.php.net to get a copy of this message | ||
On Saturday 28 February 2004 22:47, raisinlove wrote:
> 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?
Are you saying that you can create a directory using mkdir() and then
subsequently cannot read that directory using opendir()?
> 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...
What directory are you trying to read?
> Safe Mode is on as I am hosted on a shared server and cannot change
> this. Surely there's a work-around for this?
Surely if there is a work-around then safe mode would not be doing its job
properly?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
War is an equal opportunity destroyer.
*/