Create pagecheck.php