[Zope] Can ZPT form call a url?

Andreas Jung lists at andreas-jung.com
Tue May 24 00:32:38 EDT 2005



--On Montag, 23. Mai 2005 22:36 Uhr -0400 James O'Keefe 
<jokeefe at jamesokeefe.org> wrote:

> On our website we have a form where by a person can subscribe to our
> announcements list.  It is the standard mailman form.
>
> We would like to expand on that form such that a user can enter their
> email address and zip code which we would log to our database and then
> call the url to subscribe the person in the mailman list.
>

You definitely want to do this on the server side when submitting the form.
Since you can call scripts a from action you can call any known method
in Python to trigger an HTTP request (-> Python's urllib module).

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050524/928ed500/attachment.bin


More information about the Zope mailing list