Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

system call

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
crue
New php-forum User
New php-forum User
 
Posts: 9
Joined: Sun Jun 22, 2003 6:51 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.