03-11-2017, 12:59 AM
Ok. So this function assumes a column int(1) in the pages table called re_auth
http://pastebin.com/jWZQZe9x
to call it, it will be something along the lines of
<?php if (!reAuth($_SERVER['PHP_SELF'])){die();} ?>
or maybe just
reAuth($_SERVER['PHP_SELF']);
http://pastebin.com/jWZQZe9x
to call it, it will be something along the lines of
<?php if (!reAuth($_SERVER['PHP_SELF'])){die();} ?>
or maybe just
reAuth($_SERVER['PHP_SELF']);