NYCPHP Meetup

NYPHP.org

[nycphp-talk] addslashes vs mysql_escape_string()

Paul Reinheimer preinheimer at gmail.com
Sat Sep 22 19:17:26 EDT 2007


Hey List,

I was reading http://nyphp.org/phundamentals/storingretrieving.php, and i
was a bit unsure about some of the characters listed
as being escaped, and did some research. I think that we're listing a few
characters as being escaped on that page that
actually aren't escaped by the funciton.  I've posted what I found here
http://blog.preinheimer.com/index.php?/archives/247-addslashes-vs-mysql_escape_string.html

If I'm wrong, please let me know, but I couldn't find any reference to some
of those characters in the C source, or in my
own tests.

paul


-- 
Paul Reinheimer
Zend Certified Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070922/4695a614/attachment.html>


More information about the talk mailing list