Forum Moderators: coopster

Message Too Old, No Replies

Magic quotes

         

someone

12:17 am on Jan 21, 2006 (gmt 0)

10+ Year Member



I check my phpinfo page and according to it, magic_quotes_gpc is set to ON.

But when I enter this on a form input field (name="comment"): He's cool

and post that on the next page: $_POST['comment']

and print. I got: He's cool

I thought I was supposed to get: He\'s cool since magic_quotes_gpc is enabled and it's supposed to add slashes to any single or double quotes. Why isn't it adding the slash in this case?

newbie2006

11:54 pm on Jan 21, 2006 (gmt 0)

10+ Year Member



I have the magic_quotes_gpc is ON, and it back me with backslash.

Look more carefully in your configuration.