<?php session_start(); $rand = openssl_random_pseudo_bytes(32); $token = bin2hex($rand); $_SESSION['token'] = $token; ?> <section> <div class="inner"> <h2 class="heading">お問い合わせはこちら</h2> <p><span class="red">※</span>は必須項目です。</p> <form id="contact-form"> <input type="hidden" name="token" value="<?=$token?>"> <label class="form-label">お名前<span class="red">※</span></label> <input type="text" name="na