RE: [PHP-WIN] Automatic load .php page
| From: | Mike Brum | Date: | Mon, 22 Sep 2003 02:43:32 +0000 |
| Subject: | RE: [PHP-WIN] Automatic load .php page | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21476@lists.php.net to get a copy of this message | ||
That depends on you actual code.
There's the header(location: http://url.to.page/); command
that you could
use, but if you're already starting a session, I believe that you can't use
the header() command since the session already sends the header.
Though you could always include(); the member_area.php page at the point
that you print "Please click here..." or simply hard-code the
member_area.php code there as well.
There's a ton of different options, but without knowing your code, we have
no way of knowing the best one for the situation.
-M
-----Original Message-----
From: ascll [mailto:ascll@yahoo.com]
Sent: Sunday, September 21, 2003 10:38 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Automatic load .php page
Greetings,
Instead of using:
<p>Please click here to go to <a href = "member_area.php">member
area</a>.</p>
in my login.php page to go to "member_area.php" once the user was
authenticated, could I just make this AUTO?
Thanks in advance.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php