PHP + Cherrypy

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pauspling
Forum Newbie
Posts: 24
Joined: Thu Nov 17, 2005 4:06 pm

PHP + Cherrypy

Post 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
User avatar
trukfixer
Forum Contributor
Posts: 174
Joined: Fri May 21, 2004 3:14 pm
Location: Miami, Florida, USA

Post 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 :)
Post Reply