Calling Python code from inside php

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
vijay [ Mi, 23 April 2008 20:11 ] [ ID #1948742 ]

Re: Calling Python code from inside php

Post removed (X-No-Archive: yes)
Notifier Deamon [ Mi, 23 April 2008 21:08 ] [ ID #1948743 ]

Re: Calling Python code from inside php

On Wed, 23 Apr 2008 20:11:06 +0200, vijay <gvijaysrinivas [at] gmail.com> 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
luiheidsgoeroe [ Do, 24 April 2008 22:26 ] [ ID #1949457 ]
PHP » comp.lang.php » Calling Python code from inside php

Vorheriges Thema: No apxs when updating PHP
Nächstes Thema: PDO Error: Already Active Transaction -- Help