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