The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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