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:
- if the target page is html, it views it no problem.
- if the target page is html with a <?php SOME CODE HERE ?> in it, it comes up blank on the screen.
- 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