RE: [PHP] having php auto load a page

From: Date: Tue, 25 Feb 2003 05:04:58 +0000
Subject: RE: [PHP] having php auto load a page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137036@lists.php.net to get a copy of this message
Look up the header() function in the docs. Basically, you would do this: if($logged_in_ok) header("Location: ".$url_to_go_to); There are some things to note when using header, so again, check the docs before you use it. ---Matt, XPODesigns.com -----Original Message----- From: Antoine [mailto:asolomon15@nyc.rr.com] Sent: Monday, February 24, 2003 11:18 PM To: php-general@lists.php.net Subject: [PHP] having php auto load a page this might appear to be a simple question but I would like to know how I am able to have php auto load a different page. Here is the problem. I have a nice script that is used for logining in a user. But I have the script call itself so that it can test to see if the user name is correct. If the script is correct, I would like the page to just load in the user's main page. Is there any function that can do this? -- Antoine <asolomon15@nyc.rr.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#137036) next »