[KLUG Members] PHP Redirect.

Bruce Smith members@kalamazoolinux.org
26 Mar 2003 09:49:14 -0500


> Does anyone know of an easy way to do a page redirect using PHP.

Sure, do it all the time.  See patched PHP:

> 	if($row) //User Credentials are valid
> 	{
		header ("Location: welcome.php");
> 	}
> 	else
> 	{
		header ("Location: login.php");
> 	}


--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------