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 Error checking with a subdomain automation script

Discussion in 'General Discussion' started by sm00nie, Jun 21, 2005.

  1. sm00nie

    sm00nie Member

    Joined:
    Jun 20, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hi all,

    I have a loop statement that includes -
    Code:
    fopen("http://$username:$password@www.$domain:2082/frontend/x/subdomain/doadddomain.html?domain=$subdomain&rootdomain=$domain", "r")
    , which just allows for quick subdomain creation.

    $login, $pass, $subdomain and $domain are passed from a form.

    Would anyone know how in PHP to check if the subdomain was created in PHP ?

    I have no shell access btw.

    Any suggestions would be appreciated,

    Thanks
     
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