A
Anonymous
Guest
Try change at this:
or see how to do this smart peaple iwho read manual carefully:
http://www.php.net/manual/en/function.escapeshellarg.php
Code:
///////////////////////////////////////////////////////////
if (!function_exists('imp_expand_fromaddress')) {
function imp_expand_fromaddress ($imp) {
$cmd = '/usr/local/bin/myscript ' . "'" . escapeShellCmd($imp['user']) . "'";
$res=exec("$cmd");
return ($res);
}
}
http://www.php.net/manual/en/function.escapeshellarg.php