From: Zhan feng Wang Date: 2007-08-06T08:29:15+09:00 Subject: Re: How can I get HTML's varibles in embeded ruby? Brett Simmers wrote: > You probably want to use the CGI class: > http://ruby-doc.org/core/classes/CGI.html > > That page has plenty of tutorials on it, but the basics are: > > require 'cgi' > cgi = CGI.new > data_file = cgi['DataFile'] > > That'll give you the value of the DataFile text field. > > -Brett Thanks a lot. -- Posted via http://www.ruby-forum.com/.