In PHP, you can easily access the raw query string with
$_SERVER['QUERY_STRING']
Is there an easy way of doing this in Ruby?
···
--
Posted via http://www.ruby-forum.com/.
In PHP, you can easily access the raw query string with
$_SERVER['QUERY_STRING']
Is there an easy way of doing this in Ruby?
--
Posted via http://www.ruby-forum.com/.
In a CGI environment you could use:
ENV{'QUERY_STRING'}
Or test other vars with the cgi:
On Fri, Jul 18, 2008 at 7:15 PM, Hj Ka <hajejan@kamps.org> wrote:
In PHP, you can easily access the raw query string with
$_SERVER['QUERY_STRING']Is there an easy way of doing this in Ruby?
-----------------------------------
#!/usr/bin/ruby
print "Content-Type: text/plain\n\n"
p ENV
-----------------------------------------
Is not tidy, but useful.
--
Atentamente, yo <Matías>
Y sin fumar desde (casi) el '1089515700'
http://programado.org/
Let one walk alone, commit no sin, with few wishes,
like an elephant in the forest