Try this syntax, it works for me
INSERT INTO users (name, password) VALUES ('$_POST[username]',
ENCRYPT('$_POST[password]','encrypt')
Explanation:
After VALUES, use
('variable', ENCRYPT('variable','key')
You've got it
('variable','ENCODE(variable,variable')
which makes the second entry actually
You shouldn't store credit card numbers on a web server - your bank probably
prohibts it in your merchant agreement as well.
jason
> Are encode and decode secure enough for storing credit
> card numbers on a Web server?
> Jeff Oien
--
PHP Database Mailing List (http://www.php.net/)
To unsub
No
On Sat, 7 Apr 2001, Jeff Oien wrote:
> Are encode and decode secure enough for storing credit
> card numbers on a Web server?
> Jeff Oien
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>