system call

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

crue
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Jun 22, 2003 6:51 pm

system call

Postby crue » Sun Jun 29, 2003 9:45 pm

Is it possible to create a directory(sub-dir) from script1.php (resides in the directory below:
c:\Doc_Root\script\script1.php )

, such that: the directory called 'name' appear in the directory:
c:\Doc_Root\name

I tried this sys call inside the script1.php:
system ("mkdir c:\Doc_Root\name");
It's not working.....

* Doc_Root dir is like the www dir, where files accessible in the internet

thank's in advance,
crue

crue
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Jun 22, 2003 6:51 pm

Postby crue » Sun Jun 29, 2003 9:54 pm

oops, never mind....
forgot the double backslashes


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests