fix UTF-8 comment
This commit is contained in:
parent
bdf355a72f
commit
215e4fdcfb
@ -33,7 +33,7 @@ if(empty($_POST['name']) ||
|
|||||||
$name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
|
$name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
|
||||||
$link = strip_tags(htmlspecialchars($_POST['link']));
|
$link = strip_tags(htmlspecialchars($_POST['link']));
|
||||||
$email_address = strip_tags(htmlspecialchars($_POST['email']));
|
$email_address = strip_tags(htmlspecialchars($_POST['email']));
|
||||||
$comment = $_POST['comment'];
|
$comment = utf8_decode($_POST['comment']);
|
||||||
|
|
||||||
// article
|
// article
|
||||||
$postID = str_replace('/','',$post_id);
|
$postID = str_replace('/','',$post_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user