[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking passwords



-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 24 Feb 1999, Micah Yoder wrote:

> "Aaron D. Turner" wrote:
> 
> > Before you start working on the submission stuff let's chat.
> 
> I'm not working on submission stuff yet.  It will probably be a few days
> until I have all the user stuff straightened out.

Sorry, your last email gave me that impression.
 
> > Basically I want to go over what we're going to do and how we're going to
> > do it.  I'd very much like the code to be in Perl, because:
> 
> It's fine with me if it's in Perl, but just to set the record straight:
> 
> > 1) Supports cookies
> 
> So does PHP
> 
> > 2) Supports keep-alive DB connections (no need to reconnect each time)
> 
> So does PHP
> 
> > 3) Supports keeping user session (without cookies)
> 
> That's an HTTP thing.  I'm not *quite* sure how Perl does it, but I'm
> sure PHP could do it in a similar way.

It's a feature of mod_perl.  There's a Perl Module (Apache::Session) that
does it.

> > 4) Supports authorization via MySQL (replaces .htpasswd files)
> 
> PHP.  Yep.
> 
> > It does all this with modules, so there's no code we need to develop to
> > handle those functions.
> 
> I'd like to see a sample.  #3 and 4 would require a bit of code in PHP,
> though it can be modularised (which is what I'm doing).
> 
> > 5) We can use the same code for the email->DB project.

Some of the recent Perl Journals talk about it.  They're kind enough to
put the code of their examples on-line.  I'll track it down and post it
someplace.

> Right...  Will that be handled by a standalone (non-Web/CGI) program? 
> Probably called by a Qmail alias?

Yeah, a qmail alias that delivers it via a procmail script which calls the
Perl script.

> > 6) I don't know PHP, which makes it hard for me to lead this section if
> > there's PHP.
> 
> Sure.  Whenever you have time, start coding the stuff and I'll work on
> it when I'm done with the user utilities.

Agreed.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNtRLzjM3jpXy1kJtAQHEvAP/ZTTZMAdwdbnukwrJIMdKI9sUMESC0zMK
VjF3JwqCfkQA7EYK2jicLN5Cnbbp4SmQSpyf+oWO1yv5ipZJzodP/NlrSsonNJNe
IYqgzI3XQs6TOzh0NmgBCLSiSdoxXSLm4uE3UNZWsjrWa9stPsMyg3vLq2hV37He
OtqMlpJTszY=
=DAo3
-----END PGP SIGNATURE-----