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!

reason at suspend an account

Discussion in 'cPanel Developers' started by eugui, Feb 25, 2008.

Thread Status:
Not open for further replies.
  1. eugui

    eugui Member

    Dec 10, 2007
    Likes Received:
    Trophy Points:
    Marília, SP, Brazil

    I have a class that have this function:

    function suspend($acctUser, $reason)
    // connect using prpoer xml api address

    if i use:
    $suspensao = $xwhm->suspend($contas[$i]['user'], 'Atraso no Pagamento');

    the domain will be suspend but the reason at WHM is only 'Atraso' and not ''Atraso no Pagamento' if i suspend using my whm and not xml-api whith the reason 'Atraso no Pagamento' th e domain will be suspend whith the reason 'Atraso no Pagamento'



    i have the solution

    $reason = 'Atraso no Pagamento';
    $reason = urlencode($reason);


    close this topic
    #1 eugui, Feb 25, 2008
    Last edited: Feb 25, 2008
Thread Status:
Not open for further replies.

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