ERROR: You are not allowed to run remote commands

1 post / 0 new
#1 Tue, 12/08/2009 - 13:07
praboy

ERROR: You are not allowed to run remote commands

Hi, I'm making an own cpanel for my customers. The problem is:

<?php
$result = shell_exec("wget -O - --quiet --http-user=XXXX--http-passwd=XXXXX --no-check-certificate 'https://127.0.0.1:10000/virtual-server/remote.cgi?program=list-domains'");

echo $result;
?>

I got: ERROR: You are not allowed to run remote commands

Pablo.