check out the crypt() function

http://www.php.net/manual/en/function.crypt.php

if you don't care about decrypting the password this works fine.

--Shaun

On Friday 13 July 2001 15:26, Johnson, Kirk wrote:
> One approach to password security is to put the passwords in a file outside
> Document Root, then include that file in your scripts when you need a
> password.
>
> Kirk
>
> > -----Original Message-----
> > From: Adrian Teasdale [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 13, 2001 1:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] encryption methods?
> >
> >
> > Hi all
> >
> > Encryption is not something that I have had dealings in with
> > PHP.  I have a
> > potential client who wants to have customer account information (8000
> > records) stored on the internet (minus credit card
> > information) and I was
> > wondering what options I have for encryption.  My concern is
> > that by storing
> > the password in php scripts, this means that all someone has
> > to do is gain
> > access to this to access the data.  I'd be interested in
> > other people's
> > views and experiences with this.
> >
> > With thanks
> >
> > Ade
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to