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.

Remote Access Create

Discussion in 'General Discussion' started by vis, Jun 23, 2002.

  1. vis

    vis Member

    Joined:
    Feb 16, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to use the createacct script using PHP but all I get are &You must choose a plan& errors.

    --More code above--

    $acctuser = &test66&;
    $acctdomain = &test66.com&;
    $acctpass = &password&;

    $acctplan = &&; (Look below)

    $accts = createacct($host,$user,$accesshash,0,$acctdomain,$acctuser,$acctpass,$acctplan);
    print_r($accts);

    --End Of Code--

    I've tried many things for the $acctplan variable but no luck....

    $acctplan = &y,y,500,n,default,10,5,100,3,20,13000,n,Some Plan&
    $acctplan = &Some Plan&;

    I'm not getting anywhere, can someone tell me exactly what you need for the $acctplan variable to make this work.

    Thanks
     
Loading...

Share This Page