Jump to content

Suggest Function For This Work...


Piyush
 Share

Recommended Posts

Are these slashes appearing automatically in your strings? It sounds like you have a server with magic quotes activated.The stripslashes() function removes slashes from special characters.

Edited by Ingolme
Link to comment
Share on other sites

If you want to stop it from happening in the first place then set the magic_quotes_gpc PHP option to off.http://www.php.net/manual/en/info.configur...agic-quotes-gpcYou can only set that option inside an htaccess file or php.ini file, using ini_set at runtime on that option doesn't do anything.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...