Scott M. Mcdermott

UNIX Systems & Network Administrator
available for contract or salaried positions

self.php

<?

include("common.php");

/* XXX TODO make this work with a DN login */

if (!isset($_SESSION["bind_user"]))
        die("self.php only works with username logins at this time.");

xheader("Location: " . BASEURI . "useredit.php?uid=" . $_SESSION["bind_user"] .
        /* PHP does not do automatic SID appending for constructed Location:
         * URLs like this, so we need to append it ourselves */
        "&sid=" . session_id());
exit();

?>