[FX.php List] Best way to disable FX-based pages, with a nice message?

Troy Meyers tcmeyers at troymeyers.com
Tue Nov 15 17:43:52 MST 2011


Thanks Tim, brilliant!

-Troy


> Dear Troy,
> See below.
> 
> Actually, now I remember why - it's so I can transfer them to an error  
> page using header('Location: error.php');
> 
> So to stop the page at that point and transfer them, you can use
> 
> > 	if ($_SESSION['serverError'] != "0") { > 		header('Location:
> error.php'); > 	}
> 
> So no need to wrap the page code...
> 
> Cheers
> 
> T



More information about the FX.php_List mailing list