If you are prior PHP5 write your own recursive mkdir function [1] as
posted on this list a while ago.
[1] http://marc.info/?l=php-generalm=121926660406116w=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I want to make a directory on my web server programatically when my
code to create a new user runs.
I am running PHP 5.2.5 on Linux.
I am running:
$dirToCreate = ...$_SESSION['s_USER_URL'];
mkdir($dirToCreate, 0777, TRUE); // create the directory for the user
$dirToCreate is:
On 23 Oct 2008, at 00:33, Jason Todd Slack-Moehrle wrote:
I want to make a directory on my web server programatically when my
code to create a new user runs.
I am running PHP 5.2.5 on Linux.
I am running:
$dirToCreate = ...$_SESSION['s_USER_URL'];
mkdir($dirToCreate, 0777, TRUE); // create
On Wed, 2008-10-22 at 16:33 -0700, Jason Todd Slack-Moehrle wrote:
Hi All,
I want to make a directory on my web server programatically when my
code to create a new user runs.
I am running PHP 5.2.5 on Linux.
I am running:
$dirToCreate = ...$_SESSION['s_USER_URL'];
Hi,
Well, as your mkdir is saying you can only have 2 parameters, I'm
guessing you're not yet running PHP 5. Also, as 0777 is the default
mode, you can omit this from your code to leave only one argument.
You didn't say the exact error you're getting when you omit the third
argument. My guess
Jason Todd Slack-Moehrle wrote:
Hi All,
I want to make a directory on my web server programatically when my code
to create a new user runs.
I am running PHP 5.2.5 on Linux.
I am running:
$dirToCreate = ...$_SESSION['s_USER_URL'];
mkdir($dirToCreate, 0777, TRUE); // create the directory for
6 matches
Mail list logo