Primo commit: trasferimento del progetto PPEasy
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
if (isset($_GET["idtrf"])) {
|
||||
$idtrf=$_GET["idtrf"]; }
|
||||
if (isset($_POST["idtrf"])) {
|
||||
$idtrf=$_POST["idtrf"]; }
|
||||
|
||||
if (isset($idtrf)) {
|
||||
|
||||
$securitystep = new WA_MySQLi_RS("securitystep",$cmctrfdb,1);
|
||||
$securitystep->setQuery("SELECT * FROM `trf-details` WHERE `trf-details`.idtrfdetails='$idtrf' AND `trf-details`.idcompany='$idcompany'");
|
||||
$securitystep->execute();
|
||||
|
||||
if (empty($securitystep->getColumnVal("idtrfdetails"))) {
|
||||
|
||||
header("location: notauthorized.php");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user