2012-06-28から1日間の記事一覧
htmlspecialchars()を使う。 $title = htmlspecialchars($_data['title'], ENT_QUOTES, 'UTF-8');
headerでredirectする。 $root = ''main; $index_url = 'http://'.$_SERVER['SERVER_NAME'].$root; header('Location:'.$index_url);
htmlspecialchars()を使う。 $title = htmlspecialchars($_data['title'], ENT_QUOTES, 'UTF-8');
headerでredirectする。 $root = ''main; $index_url = 'http://'.$_SERVER['SERVER_NAME'].$root; header('Location:'.$index_url);