Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP script to create subdirectory

Discussion in 'General Discussion' started by Ric3kg, Apr 28, 2010.

  1. Ric3kg

    Ric3kg Registered

    Joined:
    Apr 28, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Looking for a PHP script to create a sub directory with cPanel. Any help would be much appreciated.

    Thanks,
    Rick
     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    66
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Ric3kg

    Ric3kg Registered

    Joined:
    Apr 28, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    I'm not looking to create Sub-Domains, just directories...

    Thanks,
    Rick
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You may want to consult the PHP documentation: php.net/mkdir
     
  5. Ric3kg

    Ric3kg Registered

    Joined:
    Apr 28, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Thanks, I thought maybe I had to run that through the FileManager. This is much simpler.

    Rick
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice