I try to passing text using shell_exec.
$message="I go to school";
shell_exec("nohup php -q sendmail.php $picture $message");
but I get only the one word of message when I user argv[2]. what the problem?
您必须为文本添加“
shell_exec("nohup php -q sendmail.php $picture \"$message\"");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.