This is code I used under php 7.*. It works when someone visit at "/bbs/register.php", "/bbs/register_form.php", "/bbs/register_result.php", "