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

Rix Sanctuary sanctuary at terra.es
Sat Aug 23 20:13:31 EST 2003


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi there!

Have a python calculation module and I would like to include/work with 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/'; ?>

   PHP   <----   CALC.PY    <----  BIGCALC.PY
			  |
			  |
	from mod_python import apache
 	import bigcalc

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

Thanks in advance
rix

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBP0euyhvgnt8VShhuEQLFngCaAoRawlJ9dMWyt3K9lNLge50QZa8AoMFc
QDO/ZjGHWV1PG889q/+ItxvJ
=erGk
-----END PGP SIGNATURE-----





More information about the Mod_python mailing list