Question: Passing variable in php script but its not working
exec("python -c 'import smtp;
smtp.email({$email_address})'");
Answer : use \"
exec("python -c 'import smtp;
smtp.email(\"$email_address\")'");
No comments:
Post a Comment