RE: Automatic load .php page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux