PHP Embedded In Python

Keith vetter at lincom-asg.com
Tue Feb 8 09:26:03 EST 2005


jdonnell wrote:
> I'm not sure exactly what your trying to do, but I use php and python
> together a lot. I usually call the python script from php with the
> passthru function like this:
>
> <?php
> $outputFromPy = passthru('/path/to/myScript.py');
> ?>

I need to go the other direction.  I need to call php from within
python.  Thanks.




More information about the Python-list mailing list