I am wanting to call a php file using exec.
When I call it I want to be able to pass a variable through (an id).
I can call echo exec(\"php /var/www/unity/
echo exec(\"php /var/www/unity/
try echo exec("php /var/www/unity/src/emailer.php 123"); in your script then read in the commandline parameters.
echo exec("php /var/www/unity/src/emailer.php 123");