Helpful Information
 
 
Category: Python
Return to a PHP script

For server side development I generally use PHP however for a project I am teaming up with a friend who uses python. What I need to do is somehow have a php script call a python script that will return a string back to the php script.
Is this possible?

You can use exec:

http://php.net/manual/en/function.exec.php

http://my.opera.com/NoteMe/blog/running-python-as-cgi-in-apache-in-windows?cid=4065300










privacy (GDPR)