help!: modpython, howto pass results to a running php script?

rix sanctuary sanctuary at terra.es
Sat Aug 23 13:10:58 EDT 2003


Hi there!

Have a python calculation module and  I would like to include the results in
a seperate Php script.
My code runs in a box with Apache/2.0.47(win32) mod_python/3.0.3 Python
2.2.3 Php/4.3.2
My python module is called from a php script like this:
    <?php require 'http://localhost/xxx/calc.py/'; ?>

Is there an easy way to use in my php script as local variables the results
yield by my python module?

Thanks in advance
rix







More information about the Python-list mailing list