manual for stripslashes | search for "stripslashes"
Manual © 2001-2008 The PHP Group
stripslashes
Description
string stripslashes ( string str)Returns a string with backslashes stripped off. (\' becomes ' and so on.) Double backslashes (\\) are made into a single backslash (\).
An example use of stripslashes() is when the PHP directive magic_quotes_gpc is on (it's on by default), and you aren't inserting this data into a place (such as a database) that requires escaping. For example, if you're simply outputting data straight from an HTML form.
See also addslashes() and get_magic_quotes_gpc().
© 2008 phparadise | go to the top | search phparadise | generated in 0.028 seconds
36 hits by 13 users in the last 30 minutes.