Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

stripslash

Stripslash function, only stripslashes if magic_quotes_gpc is on

Stripslash

Quote

stripslash ( string $text )


Parameters
text
The input string.

Return Values
Returns a string with backslashes stripped off. (' becomes ' and so on.) Double backslashes (\) are made into a single backslash ().

Example
Code
<?php
$str = "Is your name O'reilly?";
 echo stripslash($str);
?>


Output

Quote

Is your name O'reilly?


Notes
The function only stripslashes if magic_quotes_gpc is on