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
PHP + Cherrypy
Moderator: General Moderators
- trukfixer
- Forum Contributor
- Posts: 174
- Joined: Fri May 21, 2004 3:14 pm
- Location: Miami, Florida, USA
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
That's about all I can tell you until you can show us some code you are using..
Vague questions generally receive vague responses