From: Zeuxis Lo Date: 2007-11-11T16:05:02+09:00 Subject: CGI.new Can't Get the value ? i use ruby to write a cgi .. but i can not use the CGI.new to get the "sk=go" value.. who can help me to fix the problem ? thanks ======================= index.html : ======================= Test
username : password :
======================= test.rb : ======================= #!C:/InstantRails/ruby/bin/ruby require 'cgi'; POST = CGI.new print "Content-type: text/html\r\n\r\n" print "This is a output test" print "
" print ">>"+POST['sk'] -- Posted via http://www.ruby-forum.com/.