FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Have I been staring at the screen too long?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Have I been staring at the screen too long? [message #181018 is a reply to message #181013] Sat, 06 April 2013 16:36 Go to previous messageGo to previous message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma:
Senior Member
On 4/5/2013 6:20 PM, Richard Yates wrote:
> I ran across this line that is apparently generated by Dreamweaver
> CS4's function for checking authorization for page access. Doesn't the
> content of the 'if' clause ALWAYS evaluate to false regardless of the
> value of $strUsers?
>
> if (($strUsers == "") && false) { $isValid = true; }
>
> If so, is there some obscure purpose anyone can think of for this
> line?
>
> Richard Yates
>

Maybe this can shed some light, a few ideas about it.

http://stackoverflow.com/questions/9494564/if-strusers-false-what-the-false -is-referring-to

Scotty
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Social Network PHP Framework for huge community
Next Topic: load library failure regsrv32 php5activescript.dll failed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:08:18 GMT 2024

Total time taken to generate the page: 0.04351 seconds