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.

Change quota / mysql via script

Discussion in 'General Discussion' started by strauberry, Oct 10, 2003.

  1. strauberry

    strauberry Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    is there a remote access key function to change quota / number of mysql-databases?

    Thank you!
    strauberry

    cPanel.net Support Ticket Number:
     
  2. strauberry

    strauberry Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    For those who are interested in:

    PHP:
    function change_quota ($host,$user,$accesshash,$usessl,$acctuser,$speicherplatz) {
        
    $result whmreq("/scripts/editquota?user=${acctuser}&quota=${speicherplatz}",$host,$user,$accesshash,$usessl);
        if (
    $cpanelaccterr != "") { return; }
        return 
    $result;
    }
    strauberry

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page