kristopherWindsor Posted February 14, 2007 Share Posted February 14, 2007 Hi. I am writing a forum on PHP 4.3. When I type some text (a post at the forum), pass it to the PHP file through a web form, and write the text with fputs(), backslashes get added, preceding quotes and a few extra characters. How can I prevent this? [move] [/move] Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted February 14, 2007 Share Posted February 14, 2007 Use stripslashes... http://www.php.net/stripslashes Quote Link to comment Share on other sites More sharing options...
kristopherWindsor Posted February 14, 2007 Author Share Posted February 14, 2007 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.