I have an idea for a game that I would like to build using a mixture of PHP and Python.
I would like the backend operation to be mostly Python.
For instance, I want to be able to access coordinates and such in real-time. For that I am building a Python script that runs continuously in background that plots these things and reports them.
I plan to use PHP for the web interface stuff, as I just think it is just better suited to this task.
The question is.. how do I get them to communicate?
I mean how do I put a call into PHP that can access my running Python coordinate server?
Any ideas?
Using PHP with Python
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US