Re: open a new html page
| From: | Devrim GUNDUZ | Date: | Wed, 05 Jun 2002 14:04:56 +0000 |
| Subject: | Re: open a new html page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100703@lists.php.net to get a copy of this message | ||
Hi,
On Wed, 5 Jun 2002, Renaldo De Silva wrote:
> is there a simple way to automatically load a new page according to a
> choice made by a user.
>
> If one persons logs in they go to one page, If another peson logs in they go
> to another page?
You could keep the following information in a table of a database, or in a
text file and evaluate it whenever you need:
- username
- page_url
if "$username" logs on, user will go to "$page_url". You only must do some
coding to get this data from text file or a database.
If you have only very very few users, maybe you could place this data in
the code.
Regards and best wishes.
--
Devrim GUNDUZ
devrim@oper.metu.edu.tr
devrim.gunduz@linux.org.tr
Web : http://devrim.oper.metu.edu.tr
-------------------------------------