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!

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

  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