PDA

View Full Version : script for a login?


ratareina
06-25-2008, 07:06 AM
I am working on a site with 2 parts: one that should be available to the public, and the other only available to people through a login. all of it is simple html right now. i was hoping that i could place the private html pages in a separate directory, and find a free script to use to create the login that would restrict access to that directory. i am worried, though, that creating a login is more complicated than that. any advice?

Len Whistler
06-25-2008, 08:15 AM
i am worried, though, that creating a login is more complicated than that. any advice?

Very good and easy PHP Login script tutorial: http://www.phpeasystep.com/workshopview.php?id=6



EDIT: I just noticed this is in the Perl/ CGI forum.


------------------

bazz
06-25-2008, 12:31 PM
search CF perl forum. There are a couple of good one's but you'll need a MySQL Db to go with them.

bazz

oesxyl
06-25-2008, 02:15 PM
I am working on a site with 2 parts: one that should be available to the public, and the other only available to people through a login. all of it is simple html right now. i was hoping that i could place the private html pages in a separate directory, and find a free script to use to create the login that would restrict access to that directory. i am worried, though, that creating a login is more complicated than that. any advice?
usualy this include:
- your html you already have but you must include in a perl script
- a script which process this form and perform validation, storage and retriving authentification and session information usualy as bazz said in a mysql database. Here you must use some prel modules as CGI, DBI and probably others.

with some exception like who are the user and what condition are require to login there are no difference between this two kind of login you mention.

regards