Hello, sorry for answering so late. Here's what you should do:
1. Make sure this function is available to you:
PHP Code:
<?
$answer = shell_exec('ls');
echo($answer);
?>
2. Then, if that works:
PHP Code:
<?
$cli = "/public_html/newcli";
$dat = "-P/public_html/";
$execute = $cli." aut ".$tarjeta." ".$mesexpira." ".$anexpira." ".$monto2." ".$dat;
# $cliresult = shell_exec($execute);
echo($execute);
?>
You will see the command as it would be run by shell_exec. Try running it by hand and see what happens. Cheers