Jump to content

Recommended Posts

Posted

Using ruby's built-in CGI class, I've tried to capture and use query string parameters.

 

approach 1:

cgi = CGI.new

params = cgi.params

 

approach 2:

cgi = CGI.new

params = CGI.parse cgi.query_string

 

Both of these are working ok on my pc, but not on helio JOHNNY server.

 

Could anyone explain, why is it not working? How can I use query string in my script?

 

Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...