form.html:
<form action="p.py" method="post">
 <input type="text" id="id_text" name="name_text" />
 <input type="submit" id="id_submit" name="name_submit" />
</form>

p.py:
#!/usr/bin/python

#what to write here...

Both files are put in /var/www/ , now from http://localhost/form.html, if i 
click the submit button would i execute the p.py  and how can i get the value 
of textbox?

Any answer will be highly appreciated.
Thanks in advanced.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to