Scipol Posted August 15, 2011 Share Posted August 15, 2011 When anyone types a ' a " or a \ in the game, it throws in two \ infront of it... so its \\' or \\" or \\\ .... i am at a loss... Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted August 15, 2011 Share Posted August 15, 2011 Remove mysql_real_escape_string( ) (BAD IDEA!) A better idea, would be to use stripslashes() on the output: echo stripslashes($output); Quote Link to comment Share on other sites More sharing options...
Dominion Posted August 15, 2011 Share Posted August 15, 2011 Check if magic quotes are on, and if they are turn them off. http://php.net/manual/en/security.magicquotes.php - What magic quotes are. http://php.net/manual/en/function.get-magic-quotes-gpc.php - Check if they are on. Quote Link to comment Share on other sites More sharing options...
Scipol Posted August 15, 2011 Author Share Posted August 15, 2011 I luff you guys. Quote Link to comment Share on other sites More sharing options...
Scipol Posted August 16, 2011 Author Share Posted August 16, 2011 Im not sure where to look for where this would be x.x Quote Link to comment Share on other sites More sharing options...
Scipol Posted August 16, 2011 Author Share Posted August 16, 2011 <div id='black'>".stripslashes($post['f_forum_name'])." <span style='float: right'>Topic: ".stripslashes($post['t_topic_subject'])." </span></div> This is a line of code where i have the strips on already... Quote Link to comment Share on other sites More sharing options...
Scipol Posted August 16, 2011 Author Share Posted August 16, 2011 <div id='black'>".stripslashes($post['f_forum_name'])." <span style='float: right'>Topic: ".stripslashes($post['t_topic_subject'])." </span></div> Quote Link to comment Share on other sites More sharing options...
Dominion Posted August 16, 2011 Share Posted August 16, 2011 There was no need for 4 posts in a row... Quote Link to comment Share on other sites More sharing options...
Scipol Posted August 16, 2011 Author Share Posted August 16, 2011 I couldnt get the code to post, sorry. 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.