Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Why did this not give an error?
December 17, 2007, 7:01 am
rate this thread
Re: Why did this not give an error?
Probably because error display was off and you did not provide any error
handling. Mind you, not displaying errors is good on a production
machine, as it won't help any hackers by showing internals of your code.
Furthermore, any word that is not defined as a constant and used as a
value is taken as an unquoted string. So your code actually was treated as:
while(!'adminok' && ($i>=0))
- » How to install PHP + MySQL on pre-installed Apache ?
- — Next thread in » PHP Scripting Forum