PDA

View Full Version : A complicated task.


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

LeafWind
07-30-1999, 11:52 PM
Wow, you described what I'm looking for for a new site, too.[nbsp][nbsp]Sorry, no help here yet (I haven't really looked), but please, if you discover anything, please post it.

Thanks, and good luck,

Bekariso
------------------
www.LeafWind.com (http://www.LeafWind.com)
Growing web sites that thrive in the winds of change.

Stephen
08-01-1999, 12:21 AM
Well, you have your work cut out for you, Mario. I'm not sure about PHP since I don't use it, but I have partially implemented the idea you discuss, only in PERL/MYSQL instead (still building my web site). The thing is, I've thought about what would be required to provide people with a script that does this sort of thing, but my conclusion was that because of the extreme need for flexibility in tailoring it to your web site it would require a hell of a lot of reworking of the code (by each webmaster). More, I think, than would justify one's attempt to provide such code. Of course, maybe I haven't thought deeply enough about how you might be able to set this up in a transparent and almost-universal way.

Anyway, good luck with it.