A question about session variables. Please help
From: Sender (blah_at_blah.com)
Date: 12/29/03
- Previous message: Markus Ernst: "Re: printing é in php"
- Next in thread: Ang Talunin: "Re: A question about session variables. Please help"
- Reply: Ang Talunin: "Re: A question about session variables. Please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 09:08:54 -0500
Hi folks. I was writing a login script that uses session variables to
register a user. As I understand it, once a session variable is created, it
can be called upon in other php scripts later on, right?
Now, a person logs in and I provide a link for them on their login screen.
The target of the link loads a new page, its content is based on a database
entry that is accessed using their username and password (that way each
login is personalized). But, when I click on the link, I get one of three
things:
1. if the target page is html, it views it no problem.
2. if the target page is html with a <?php SOME CODE HERE ?> in it, it comes
up blank on the screen.
3. if the target page has a php extension and php code within it, an error
404 message comes up telling me that the page doesn't exist.
Can someone help explain to me why I see this, and/or offer a suggestion or
an alternate way to provide personalized login pages.
TIA
Doug
- Previous message: Markus Ernst: "Re: printing é in php"
- Next in thread: Ang Talunin: "Re: A question about session variables. Please help"
- Reply: Ang Talunin: "Re: A question about session variables. Please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|