Computers 2007 - Prefessional Book Reviews - Debt Consolidation - Musica Reggaeton - French Property

PDA

View Full Version : How to launch a Python script from a PHP page.


bluesky422
Jul 9th 2008, 11:57 am
Hello, can anyone please tell me how to launch a Python script from a PHP page.

I need the Python scripted to be called each time the PHP file is opened.

I know it maybe an odd request but the script I need is already developed in Python.

Thanks.

kmap
Jul 9th 2008, 12:01 pm
exec('/public_html/cgi-bin/xyz.py');

Regards

Alex