From: Ben Aroia Date: 2008-03-30T08:57:56+09:00 Subject: Re: remote ip address I単aki Baz Castillo wrote: > El Domingo, 30 de Marzo de 2008, Ben Aroia escribi坦: > >> Apache/1.3.34 Ben-SSL/1.55 is the server info. It goes index.php has a >> form that is submitted using GET to /ruby.rb. ruby.rb generates the >> content for the page depending on the form input. I'm not sure if I'm >> all that clear. It's not a ruby web server. It's just a script on a web >> server. > > So, does PHP call to a Ruby script? > > If that, the only way is that PHP passes the source address as a > parameter to > the Ruby script. Note that in your case Ruby is not handling the socket > at > ALL, so it's no way to get the address IP:port except passing it as > parameter. Ah. Ok. Thanks. -- Posted via http://www.ruby-forum.com/.