riginal Message-
From: Simon Ritchie [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] exec / mkdir question
> > i'm using the following code to create a directory :-
> >
> > $temp = exec("mkdir $path");
&
Just curious, any reason you don't use the mkdir function/
mkdir ("/path/to/my/dir", 0700);
-Brian
> -Original Message-
> From: Simon Ritchie [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: R
> > i'm using the following code to create a directory :-
> >
> > $temp = exec("mkdir $path");
> >
> > it doesn't work...
> >
> > i've validated the $path var which is correct. i suspect it is a
> > permissions issue.
> >
> > what should i look for to resolve this?
>
> Try using the mkdir functi
Try using the mkdir function:
http://www.php.net/manual/en/function.mkdir.php
Daniel Kushner
[EMAIL PROTECTED]
Need hosting? http://www.thehostingcompany.us/
> -Original Message-
> From: Javier Montserat [mailto:[EMAIL PROTECTED]]
> Sent: Monday, Aug
4 matches
Mail list logo