From: JK Date: 2003-08-23T20:31:34+09:00 Subject: Re: Getting html page fields with webrick > HTTPRequest#query returns a Hash of parsed query. > > def do_GET(req, res) > q = req.query > fname = q['fname'] > email = q['email'] > st = "Hello #{fname} -- #{email} " > res['Content-Type'] = "text/html" > res.body = st > end > > In addition, do_POST should be defined for POST request. That's ok thank you. Well, now instead of having the output of results (server side) to "$stderr" I want to have it in a "log_file". How to initialize the BasicLog class? jilani -- http://www.jilani.net