Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » New PHPBB exploit out...don't bother trying it here
New PHPBB exploit out...don't bother trying it here [message #142135] Sun, 06 March 2005 02:08 Go to previous messageGo to previous message
Crimson is currently offline  Crimson
Messages: 7430
Registered: February 2003
Location: Phoenix, AZ
Karma:
General (5 Stars)
ADMINISTRATOR
Laeubi

IRON FART

"==" means equal.
"===" means equal to and same type.

http://www.php.net/manual/en/language.operators.comparison.php

Right for example you can compare a number and a string like:

if ("a"==0) woudl return true, because a string is converted to zero by default if it don't conatain ana number at the start, but
if ("a"===0) would return false, because String is not Int Wink


That's not quite true, because PHP does automatic type switching in the case of "==" so the 0 integer would automatically be converted to a string of "0" and be false. Using "===" would prevent PHP from changing the integer to a string.


I'm the bawss.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HL2 Ren mod
Next Topic: Can you place it? Completed
Goto Forum:
  


Current Time: Wed Feb 05 07:06:11 MST 2025

Total time taken to generate the page: 0.02187 seconds