Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS on PHP 5.3
#4
On my last comment about editing admin/changedata.php, line 97... It might be faster (though longer code):

Code:
if(isset($_POST['post-content'])) {
    if (get_magic_quotes_gpc()==0) {
        $content = addslashes(htmlentities($_POST['post-content'], ENT_QUOTES, 'UTF-8'));
    } else {
        $content = htmlentities($_POST['post-content'], ENT_QUOTES, 'UTF-8');
    }
}
Reply


Messages In This Thread
GS on PHP 5.3 - by Carlos - 2010-04-27, 06:29:27
GS on PHP 5.3 - by spilarix - 2010-04-27, 22:54:04
GS on PHP 5.3 - by Carlos - 2010-05-17, 06:19:16
GS on PHP 5.3 - by Carlos - 2010-05-17, 15:40:19
GS on PHP 5.3 - by ccagle8 - 2010-05-18, 20:35:31
GS on PHP 5.3 - by Carlos - 2010-05-19, 00:46:00
GS on PHP 5.3 - by Carlos - 2010-05-19, 06:02:47



Users browsing this thread: 1 Guest(s)