Custom Redirect
Hello,
I am attempting to do a custom redirect based on a session variable. I have followed the tutorial here:
showthread.php?t=17723&highlight=redirect
I make it to the redirect.php page but nothing happens. Am I missing something?
This is what my redirect.php page looks like:
<?php
if(isset($_SESSION['type']) && $_SESSION['type'] != "") {
header("Location: ".$_SESSION['type']."php");
}
?>
What am I missing?
Thanks!
Garry