From: "J. Ryan Sobol" Date: 2006-01-06T00:20:19+09:00 Subject: Re: Newbie - Problem Two - Ruby and Form Variables, re-loading like PHP_SELF Actually, you'll also need to call basename(). So, basename($_SERVER['PHP_SELF'] ) == __FILE__ ~ ryan ~ On Jan 5, 2006, at 9:03 AM, Edward Faulkner wrote: > On Thu, Jan 05, 2006 at 07:03:34AM +0900, > page77.office@googlemail.com wrote: >>
> name = >> "Nextrec" > > > If I remember my PHP correctly, $_SERVER['PHP_SELF'] is simply the > name of the currently executing file. The Ruby equivalent is > __FILE__. > > regards, > Ed