[dokuwiki] Re: Fwd: DokuWiki - Full path disclosure

  • From: TNHarris <telliamed@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 24 Jun 2012 17:11:50 -0400

On Sun, Jun 24, 2012, at 10:29 PM, Andreas Gohr wrote:
> 
> I'm not sure I'm following you. Can you explain what you mean?
> 

$INPUT->set("foo", "0");
$INPUT->set("bar", "");
$INPUT->int("foo", -1); -> 0
$INPUT->int("bar", -1); -> 0
$INPUT->int("foo", -1, true); -> -1
$INPUT->int("bar", -1, true); -> -1

I'd want to get 0 for foo, and -1 for bar.

-- tom
telliamed@xxxxxxxxxxx

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: