Hi,

I'm just looking into web.py at the moment. It sounds really cool.

I have one question regarding web.input(). Is there a way of
differentiating between GET and POST variables? For example, if I have
a form with 'username' and 'password' as POST params, can I check that
they have actually come through POST rather than GET.

I know I can do the important work under the POST method, but it would
still be nice to make sure someone can't post to that URL with a url
of something like http://example.org/?username=bob&password=password.
This is more of a sanity thing for me - I'm used to using $_GET and
$_POST and never $_REQUEST in PHP.

Thanks,
Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to