RE: [PHP] Simple mkdir() Q: Please help.

From: Date: Fri, 23 Aug 2002 00:44:56 +0000
Subject: RE: [PHP] Simple mkdir() Q: Please help.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113698@lists.php.net to get a copy of this message
> > PLEASE PLEASE PLEASE... > I just need a simple clarification beyond what is in the manual. > > When using mkdir()on WINDOWS do you specify the path string > to start from where the script that is calling mkdir() is located..? > > Like... > mkdir(../current/dir_to_be_made,0700); > > or do you have to enter the entire path from the main drive? > > Like... > mkdir(C:/top/current/dir_to_be_made,0700); > > The manual didn't specify, and I am trying to trouble shoot > why my calls are being denied. I haven't tried either option lately so I couldn't say for certain but I suspect that either will work so long as you have the paths right. Set up a small test script for yourself and try it. I'm suggesting using a small test script as it lets you test this particular item in isolation so you can figure out what it is doing. Then you can apply what you learn to the script you're trying to trouble-shoot and if it still doesn't work you can then look elsewhere for the problem. CYA, Dave

« previous php.general (#113698) next »