Re: accesing POST elements?

Gavin Kistner <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
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.
--
(-, /\ \/ / /\/
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.