Hi, I am trying to upgrade to php5. All features seem to work except the following code. This is used to access my admin. panel. Now I can enter through a back door by uing another routine and then backpaging in the browser which somehow slips around this. I would like to know how i must reword this code to function in php5. Thanks in advance for any help.
Mike (rmharrington)
?>
<?php if (empty($_SESSION["admin"])) redirect("index.php?e=1"); //Single Delete if (!empty($_GET["delid"])) { mysql_query("delete from user_master where `user_id`=" . $_GET["delid"]); redirect($_SERVER["HTTP_REFERER"]); }