> I have been running The Apache Serve on Fedora 1 successfully for
> about six months. I've become okay in using Perl and Mysql to create a
> number of beneficial applications for myself. But now I want to do
> more advanced things. The teachers at the school I work at like many
> of the apps I've created. So now I want to create a password page
> similar to something found on Yahoo and other sites where the user is
> able to create their own user name and password to access services
> that such sites offer. I know how to setup user accounts myself.
Are we talking Unix accounts, or special accounts for the website in
question, completely independent of the system?
If its the latter, then I can't help you with the precise code since I don't
know Perl, but PHP is very good at this sort of thing, and very easy to
learn.
The flow goes something like this.
***
User visits website
Clicks REGISTER link, is taken to register form
Enters details into register form
Form is submitted, details are entered into MySQL table [INSERT into
tblUsers (username,password,realname,address) values (a,b,c,d)]
You'd then use cookies or similar to log the user into the site (PHP
sessions are good here)
In the code of each page, you could say (pseudo) "if the user is logged in,
display the page, else, give a link to the login page"
***
Hope this give you an idea of what's needed. Try tapping some keywords into
Google for Perl specifics. If you want some help with PHP implementations,
then post back and I can help you futher.
HTH.. and btw, this is probably OT ;-)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.718 / Virus Database: 474 - Release Date: 09/07/2004