Mega Code Archive
A login system that uses PostgreSQL
This is a simple script for a login system that uses a PostgreSQL database
(It could quite easily be changed to use MySql or any other database if you
choose).
As well as having a username and a password the user has there own zone (I
did this so I could dynamically make a page depending on what user and so
they could have duplicate usernames if in a different zone (I have set
different zones for a different company))
if you can think of any improvments they would be much appericated but
remember i'm not a security expert and i'm sure this has holes in it, for
instance if you are not using ssl then the passwords are sent in plain
text so you may need to use a java applet to encrypt the password before
it is sent.