Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

192.168.1.41:8000, Www.xxxcon., %s wwwxxxcon, %s wwwxxxcon, www.xxxcon, xxxxdup, bitlord outgoing port settings, ckowwwxxx, 192.168.1.41:8000/nor-482.html, php.ini "Unable to initialize module"

Links

XODOX
Impressum

#1: Calling Python code from inside php

Posted on 2008-04-23 20:11:06 by 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

Report this message

#2: Re: Calling Python code from inside php

Posted on 2008-04-23 21:08:47 by unknown

Post removed (X-No-Archive: yes)

Report this message

#3: Re: Calling Python code from inside php

Posted on 2008-04-24 22:26:44 by luiheidsgoeroe

On Wed, 23 Apr 2008 20:11:06 +0200, vijay <gvijaysrinivas@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

Report this message