Calling Python code from inside php

Calling Python code from inside php

am 23.04.2008 20:11:06 von vijay

Hi
I have a python code performing some computation for me.I have a
html page which passes certain argumnets to a php page.This php page
needs to pass on the value to the Python class and get the result
back.
How do I go about this??


Cheers
Vijay

Re: Calling Python code from inside php

am 23.04.2008 21:08:47 von unknown

Post removed (X-No-Archive: yes)

Re: Calling Python code from inside php

am 24.04.2008 22:26:44 von luiheidsgoeroe

On Wed, 23 Apr 2008 20:11:06 +0200, vijay wrote:

> Hi
> I have a python code performing some computation for me.I have a
> html page which passes certain argumnets to a php page.This php page
> needs to pass on the value to the Python class and get the result
> back.
> How do I go about this??

popen() or proc_open() seem ideal to me.
--
Rik Wasmus