Mario
07-30-1999, 06:06 PM
I'm currently learning up on PHP and MySQL.
What I'm wanting to do with my site is alow visitors to register for membership which will include access to free email (through a third-party provider), discussion board, etc. I figure I could most efficiently store the registrants information through MySQL databases. Some things however will not require users to register. As my users travel around my site and click on a link that requires registration, I want to develop a script which will automatically check if they've logged in or not {through a cookie}. If they haven't, it will redirect them to a "LOG-IN" page. Once they login it will take them BACK to the page they were going to automatically.
To get a detailed idea, see sixdegrees.com.
I'm sure this is possible using PHP, I just need the help to either find a script that exist or TIPS on how to create the script. I've searched PHP.NET and other sites offering PHP BUILDING TIPS/SERVICE but to be honest with you all, I'm not quite sure exactly WHAT to SEARCH for.
I'm EXTREMELY new with PHP but learning quickly. Any information or advice you all can give me would be appreciated.
Mario
What I'm wanting to do with my site is alow visitors to register for membership which will include access to free email (through a third-party provider), discussion board, etc. I figure I could most efficiently store the registrants information through MySQL databases. Some things however will not require users to register. As my users travel around my site and click on a link that requires registration, I want to develop a script which will automatically check if they've logged in or not {through a cookie}. If they haven't, it will redirect them to a "LOG-IN" page. Once they login it will take them BACK to the page they were going to automatically.
To get a detailed idea, see sixdegrees.com.
I'm sure this is possible using PHP, I just need the help to either find a script that exist or TIPS on how to create the script. I've searched PHP.NET and other sites offering PHP BUILDING TIPS/SERVICE but to be honest with you all, I'm not quite sure exactly WHAT to SEARCH for.
I'm EXTREMELY new with PHP but learning quickly. Any information or advice you all can give me would be appreciated.
Mario