Demo entry 4101979

test

   

Submitted by anonymous on Mar 20, 2016 at 00:06
Language: PHP. Code size: 210 Bytes.

<?PHP

session_start();

if (!(isset($_SESSION['login']) && $_SESSION['login'] != '')) {

//Takes user back to login page as they are not logged in
header ("Location: ../Welcome/welcome.php");

}

?>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).