Hi,
I have a class that have this function:
function suspend($acctUser, $reason)
{
// connect using prpoer xml api address
$this->connect("/xml-api/suspendacct?user=$acctUser&reason=$reason");
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'
thanks
====
i have the solution
$reason = 'Atraso no Pagamento';
$reason = urlencode($reason);
Thanks
close this topic



LinkBack URL
About LinkBacks






