I have this PHP:
$param = (…)
// The $param is correct, this is not a problem!
// -re token=123456
exec('program.php -r '.$param. $output);
var_dump($output);
// If work: this will execute the program.php with -r -re token=123456 -u “abc”
But not work!
The var_dump():
array(2) { [0]=> string(50) “'program.exe nÆo ‚ reconhecido como um comando interno” [1]=> string(56) “ou externo, um programa oper vel ou um arquivo em lotes.” }
$param = (…)
// The $param is correct, this is not a problem!
// -re token=123456
exec('program.php -r '.$param. $output);
var_dump($output);
// If work: this will execute the program.php with -r -re token=123456 -u “abc”
But not work!
The var_dump():
array(2) { [0]=> string(50) “'program.exe nÆo ‚ reconhecido como um comando interno” [1]=> string(56) “ou externo, um programa oper vel ou um arquivo em lotes.” }
Last edited:
