The URL has been escaped - that is, it has had a back-slash character added in front of certain other characters which could cause issues, eg if they were put into a SQL string.
PHP has a command stripslashes()
to remove these escape characters.
However, the feature of PHP adding the slashes automatically is old and is now deprecated. If possible, you should check your PHP.ini and turn off the magic_quotes
option. That way you won't get the slashes added to your input any more, so you won't have to remove them.
Note that if you are writing data to a database, you will need to escape it before putting it in your SQL string. But you should use something like mysql_real_escape_string()
instead of the slashes added by magic_quotes.