Re: accesing POST elements?

Roberto Moral <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Organization Quantiva, inc.
Message-ID <[email protected]>
Didn't think of that! duh!!

Thanks.

Gavin Kistner wrote:

> On Feb 24, 2004, at 10:49 AM, Roberto Moral wrote:
>
>> I've been reading the documentation and trying to find some example 
>> in the net as to how to access the elements in POST, so far I have 
>> been able to get the elements in GET but how do you handle forms?
>
>
> As far as I can tell, the exact same way.
>
> cgi = CGI.new
> theValue = cgi['mypostedname']
>
> Works for me, IIRC.
> -- 
> (-, /\ \/ / /\/
>
>
>

-- 
The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts to fit their views ... which can be very uncomfortable if you happen to be one of the facts that needs altering.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.