#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    dover
    Posts
    16
    Rep Power
    0
    how do i make a new directory from my perl/cgi script?

    ------------------
    lumpkin
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    mkdir(directory_name, 0755);
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Frederick,MD USA
    Posts
    6
    Rep Power
    0
    if you're using linux in any form, you will need to do the following:

    system("mkdir path");

    Or, simply print the command to STDOUT:

    print `mkdir new_path`;

    Be sure to enclose your command in BACK quotes.

IMN logo majestic logo threadwatch logo seochat tools logo