Isn't that almost the same as a different version? I installed PHP5 ages ago and it didn't come with any of the MySQL functions although that was a PHP thing.
Thinking about it now, passwords and stuff does seem like a more logical approach to what the problem is being caused by.
Hmm, I wouldn't ever leave the error message where the end user could see it, I tend to log them and throw a "nice" error message for the end user. That way no possible security info could get out. Of course I'm usually using my Exception class, which does it all automagically for me.
Hmm, I wouldn't ever leave the error message where the end user could see it, I tend to log them and throw a "nice" error message for the end user. That way no possible security info could get out. Of course I'm usually using my Exception class, which does it all automagically for me.
Ditto.. no errors that contain privy info such as DB login details (once the system is into 'live' environment,) should ever be produced to anywhere but a controlled log/area. Sensitive error messages, such as mysql_error() can and does produce make it so much easier for malicious attackers to gain access to areas they shouldn't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.