File manager - Edit - /home/gppowercontrol/public_html/admin/include/function.inc.php
Back
<?php function get_safe_value($con, $str) { if ($str != '') { $str = trim($str); return mysqli_real_escape_string($con, $str); } } function isAdmin() { if (!isset($_SESSION['ADMIN_LOGIN'])) { ?> <script> window.location.href = 'login.php'; </script> <?php } } function isNotAdmin() { if (isset($_SESSION['ADMIN_LOGIN'])) { ?> <script> window.location.href = 'index.php'; </script> <?php } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings