torkell: (Default)
Thomas ([personal profile] torkell) wrote2007-08-03 03:57 pm

WAP gateway test

Is there actually any point to PHP's "magic quotes", if you have to use stripslashes() before doing anything sensible with form data?

[identity profile] link077.livejournal.com 2007-08-04 05:31 am (UTC)(link)
It's so that newbies don't put major security holes in their scripts by passing unescaped data into MySQL. Still annoying, I guess.

[identity profile] olego.livejournal.com 2007-08-06 01:21 am (UTC)(link)
Magic Quotes is one of the worst things about PHP. No language should touch my data!

That\'s the truth! :-D