&1"; // https://stackoverflow.com/questions/55216694/python-requests-return-response-to-php #$cmd = "/usr/bin/python2.7 ".__DIR__."/CRM_proxy.py"; if($_SERVER['REMOTE_ADDR']=='118.163.102.67'){ #echo$cmd; } #var_dump(shell_exec($cmd)); var_dump(shell_exec('/usr/bin/python2.7 '.__DIR__.'/test.py'));