mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Prevent post pages being accessed directly
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
||||
|
||||
$name = sanitizeInput($_POST['name']);
|
||||
$email = sanitizeInput($_POST['email']);
|
||||
$role = intval($_POST['role']);
|
||||
|
||||
Reference in New Issue
Block a user