Some time back, I inherited a project where the original coding used addslashes/stripslashes to escape/unescape text in/out of MySQL. I've continued to use that method of escaping and have only just now come across a problem with it.
To insert the original string
O'Brian says "Don't do...
I have a PHP script that sends an email to a user. The email contains a link back to the PHP application (a custom web-based office management suite).
The office manager app requires a valid PHP session before it'll serve up the page that the email linked to (or indeed, any page).
With an...
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.