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. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php