From: mdiam Date: 2008-03-31T02:50:14+09:00 Subject: Re: HTTP GET requests in a Ruby CGI Script On Mar 29, 9:39 pm, Ben Aroia wrote: > I think I've got it. I *think* it was a problem with calling a function > before sending the content-type bit. Darn. Not sure about that, there were at least two errors in your script: 0.upto(results-1) { |i| => 0.upto(results.to_i-1) { |i| and: print tempbod.split(//).length-1 => print body.split(//).length-1 Any error stop the script! -- Maurice