Calling values from a webform to Python

M

mjakowlew

hi,

I'm trying to pass some values from a webform into a python script.

___________________________

<html>
<form action="proccessForm.py">
<p>Name: <input type="text" name="filename"/></p>
<p>Email: <input type="text" name="title"/></p>
<p><input type="submit" name="submit" value=" Submit "></p>
</form>
</html>
___________________________

Now, how do I call these individual attributes (filename,title, etc.)
in my "processForm.py".
I think it has something to do with the:

REQUEST=context.REQUEST

command, but I'm not quite sure how to implement it properly. Also this
is done through Zope if that makes a difference to anyone.

Thanks in advance,
mjakowlew
 
B

bruno at modulix

mjakowlew said:
hi,

I'm trying to pass some values from a webform into a python script.
(snip)
Also this
is done through Zope if that makes a difference to anyone.

Yes, it makes a difference. Zope is a world in itself, and is slighty OT
here. Note that there's a Zope mailing-list:
http://mail.zope.org/mailman/listinfo/zope

(Zope answers sent in private)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,270
Messages
2,571,351
Members
48,036
Latest member
nickwillsonn

Latest Threads

Top