Posted 10 September 2006 - 01:41 AM
Posted 10 September 2006 - 03:10 AM
the problem with replacing them in the client's html side is they're turned back into backslashes when it transfers to the server.
Your real problem, as you can guess, is that once in the server side they can be stripped out depending on your PHP ini settings. I'm not much of a sys-admin type, but there are some others here that can probably point you in the right direction.
Posted 11 September 2006 - 01:30 AM
but without his code, I just guessed that he's having a problem retrieving the '\' on the php side. before he could get to it with a str_replace().
Maybe I missunderstood.
If so, appologies rshadarack.
Otherwise, I'm thinking the problem is he's got magic_quotes or some such set to muddle with his form input strings.
Like I said, could be wrong...
Posted 11 September 2006 - 01:57 AM
html_entities($_POST['FORM'], ENT_QUOTES);That way all the HTML entered would become "safe"...'er'
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users