■掲示板に戻る■
全部
1-
101-
201-
301-
401-
501-
601-
701-
801-
901-
最新50
レス数が1000を超えています。残念ながら全部は表示しません。
防弾さんG難民キャンプ60
286 :
ナゲツケサル
(a)
:2023/10/06(金) 09:49:29.42 ID:+as8H7FI
>>285
>
// 特殊な文字等変換
$_POST['title'] = str_replace(array("\r\n","\r","\n"), " ", $_POST['title']);
$_POST['name'] = str_replace('"', """, $_POST['name']);
$_POST['name'] = str_replace("<", "<", $_POST['name']);
$_POST['name'] = str_replace(">", ">", $_POST['name']);
$_POST['name'] = str_replace("'", "'", $_POST['name']);
$_POST['name'] = str_replace("&", "", $_POST['name']);
$_POST['name'] = str_replace(array("\r\n","\r","\n"), " ", $_POST['name']);
$_POST['name'] = trim($_POST['name']);
$_POST['mail'] = htmlspecialchars($_POST['mail'], ENT_QUOTES, 'UTF-8');
$_POST['mail'] = str_replace(array("\r\n","\r","\n"), " ", $_POST['mail']);
$_POST['mail'] = trim($_POST['mail']);
$_POST['board'] = str_replace(array(".","/","|"), "", $_POST['board']);
$_POST['thread'] = str_replace(array(".","/","|"), "", $_POST['thread']);
$_POST['comment'] = str_replace('"', """, $_POST['comment']);
$_POST['comment'] = str_replace("<", "<", $_POST['comment']);
$_POST['comment'] = str_replace(">", ">", $_POST['comment']);
$_POST['comment'] = str_replace("'", "'", $_POST['comment']);
$_POST['comment'] = str_replace("&", "", $_POST['comment']);
$_POST['comment'] = trim($_POST['comment']);
$_POST['comment'] = str_replace(array('[', ']'), array('[', ']'), $_POST['comment']); //レス情報欄偽造防止
$_POST['comment'] = str_replace(array("\r\n","\r","\n"), "<br>", $_POST['comment']);
$_POST['comment'] = preg_replace("/*10([^0-9]|$)/", "<br>", $_POST['comment']);
$_POST['comment'] = preg_replace("/[xX]0*[aA]([^a-zA-Z0-9]|$)/", "<br>", $_POST['comment']);
$_POST['title'] = preg_replace("/*10([^0-9]|$)/", "<br>", $_POST['title']);
$_POST['title'] = preg_replace("/[xX]0*[aA]([^a-zA-Z0-9]|$)/", "<br>", $_POST['title']);
$_POST['name'] = preg_replace("/*10([^0-9]|$)/", "", $_POST['name']);
$_POST['name'] = preg_replace("/[xX]0*[aA]([^a-zA-Z0-9]|$)/", "", $_POST['name']);
$msgbr = explode("<br>", $_POST['comment']);
134KB
掲示板に戻る
全部
前100
次100
最新50
READ.CGI - 0ch+ BBS 0.7.5 20220323 (Tuned by イーブイワイ★)
ぷにぷに板は「ぜろちゃんねるプラス」で作られていますぶい!🐕