Create checkrights.php