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 package creation

Discussion in 'General Discussion' started by anarckie, May 29, 2004.

  1. anarckie

    anarckie Member

    Joined:
    Jul 10, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I am wondering if anyone can help me out or point me in the right direction...

    Is it possible to create a new package remotely? Possibly for each new user that signs up remotely?

    Thanks in advance.
     
  2. anarckie

    anarckie Member

    Joined:
    Jul 10, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Ok i discovered the functions

    addpkg
    Add a Package.

    editpkg
    Edit a package.

    Did some searches and nothing came up. Can any1 tell me what variables need to be passed to each function for it to create properly?
     
  3. anarckie

    anarckie Member

    Joined:
    Jul 10, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Ok so the functions dont exist on php. Can someone tell me why it doesnt, but it does for perl?

    Anyway around it, i'm trying to use something like:

    addpkg($name,$hasshell,$bwlimit,$quota,$ip,$cgi,$frontpage,$cpmod,$maxftp,$maxsql,$maxpop,$maxlst,$maxsub,$maxpark,$maxaddon);
     
Loading...

Share This Page