I have a python script on local machine sending data to PHP script on google cloud compute engine. I want my PHP script to send that data to another python script as arguments for processing. I am trying this, php script
<?php
$time = $_GET['time'];
exec("python3 caller.py ".$time,$output);
ar_dump($output);
echo $output;
?>