Re: Login

From: Date: Wed, 08 Oct 2008 01:03:46 +0000
Subject: Re: Login
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281560@lists.php.net to get a copy of this message
On Wednesday 08 October 2008 06:14:33 am Terry J Daichendt wrote: > I want to open a page if a login is correct and another if not. What is the > function to open a page in PHP? Can you show me a simple example of the > syntax? There is no such function. You have many options like redirecting a user- header('Location: newfile.php'); showing another file- include('newfile.php'); or using fopen to open a HTML file and print it (this one is very rarely used!).

« previous php.general (#281560) next »