Hello All:
My question is related to authentication. I have made a login system
using PHP Sessions and MySQL. Once the user gets authenticated on the
website I want to be able to allow him to see some html pages on the
website. Only users who have logged in are able to see such a files. I
have asked this question before , but still I have some doubts.
My code will check for:
if (session_is_registered($valid_user))
{
/// display the reqd page
}
else {
DISPLAY ERROR MESSAGE and ASK USER TO LOGIN
}
How should I display the page ... the page has a lot of html code and
trying to write echo " blah blah blah ..... ";
will not be a an option. Please suggest a way out .
Many Thanks
Pushpinder
Pushpinder Singh Garcha
_________________________________
Web Architect
- [PHP] Help Needed Pushpinder Singh Garcha
- Re: [PHP] Help Needed 1LT John W. Holmes
- Re: [PHP] Help Needed Chris Boget
- RE: [PHP] Help Needed Carl Brandenburg
- Re: [PHP] Help Needed Jennifer Swofford
- [PHP] Help needed SpiderWebb
- [PHP] Help Needed Pushpinder Singh Garcha
- Re: [PHP] Help Needed Michael J. Pawlowsky
- [PHP] Help Needed Pushpinder Singh Garcha
- Re: [PHP] Help Needed Kevin Stone
- Re: [PHP] Help Needed Pushpinder Singh Garcha
- Re: [PHP] Help Needed Philip Olson
- [PHP] Re: Help Needed Goetz Lohmann
- Re: [PHP] Re: Help Needed Pushpinder Singh Garcha
- [PHP] Help Needed Pushpinder Singh Garcha
- [PHP] Help Needed Pushpinder Singh Garcha
- RE: [PHP] Help Needed Michael Roger C. Bianan
- Re: [PHP] Help Needed Pushpinder Singh Garcha
- RE: [PHP] Help Needed Michael Roger C. Bianan
- [PHP] Help needed Andy
- [PHP] Re: Help needed J.Veenhuijsen