HTML Forms - removing slashes safely

RiverWalk

New Member
I'm using a web form to store user input into a MySQL DB, using $_POST.I have noticed that once \[code\]textarea\[/code\] fields area read, slashes are inserted automatically to escape some characters.As I need to manipulate text before storing, I thought about using \[code\]stripslashes\[/code\], however I have discovered that it may garbage text, if Japanese or other asiatic character sets are used.Is there a proper way to do the job (remove slashes) safely?
 
Back
Top