Welcome! Log In Create A New Profile

Advanced

Re: can't read page itself

September 07, 2009 01:40AM
On Sun, 2009-09-06 at 21:52 -0700, Cliff Wells wrote:
> In the future, perhaps you should:
>
> 1) post the actual error
> 2) post your nginx config
>
> That way people don't have to guess about what you are doing.
>
> On Sun, 2009-09-06 at 23:48 -0400, afen wrote:
> > I try not into recursion
> > test.php
> > <?
> > $id=$_GET['id'];
> > if ($id==1){
>
> if ($id=="1"){
>
> Note that all _GET variables will be *strings*. You have to coerce them
> if you want them to become other types.

Bah, I forgot that PHP stupidly coerces crap without prompting.

"1" == 1 is true in PHP.

Better post your config.

Cliff

--
http://www.google.com/search?q=vonage+sucks
Subject Author Posted

can't read page itself

afen September 03, 2009 11:55PM

Re: can't read page itself

afen September 04, 2009 12:14AM

Re: can't read page itself

Maxim Dounin September 04, 2009 04:54AM

Re: can't read page itself

afen September 06, 2009 11:37PM

Re: can't read page itself

afen September 06, 2009 11:48PM

Re: can't read page itself

Cliff Wells September 07, 2009 01:20AM

Re: can't read page itself

Cliff Wells September 07, 2009 01:40AM

Re: can't read page itself

edogawaconan September 07, 2009 01:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready