D
Dmitry V. Sabanin
Hi,
I'm trying to use cgi.rb from stdlib, and I have following problem. When I use GET to send data to script,
everything is fine, it's also fine when I use POST to do this, but I can't use both in one script.
I.e., if I have URL: http://localhost/cgi-bin/index.rb?page=guestbook, and, I have a form that sends POST data
to it, then variable "page" doesn't appear in CGI#params hash.
It looks it wouldn't be hard to hack that in, but maybe there's another way?
I'm trying to use cgi.rb from stdlib, and I have following problem. When I use GET to send data to script,
everything is fine, it's also fine when I use POST to do this, but I can't use both in one script.
I.e., if I have URL: http://localhost/cgi-bin/index.rb?page=guestbook, and, I have a form that sends POST data
to it, then variable "page" doesn't appear in CGI#params hash.
It looks it wouldn't be hard to hack that in, but maybe there's another way?