Page 1 of 1

PHP + Cherrypy

Posted: Sat Nov 19, 2005 7:28 pm
by pauspling
Hi! I would like to create a form in php that takes user input, sends the data to a python script (using Cherrypy) where the input is processed and then redirects the result (data) to a textfield in the original php page. Is that possible? How can I do this?

php (take input in form) => {Cherrypy} python (input processed) => php(result published in form)

/Paulina

Posted: Sun Nov 20, 2005 11:19 am
by trukfixer
Simply put, built your php form, POST the data to the script.py , and process it, then using python send POST or perhaps GET data back to the php script, where the data can be taken down and used to populate the textarea ..

That's about all I can tell you until you can show us some code you are using..

Vague questions generally receive vague responses :)