RE: [PHP-DB] encode/decode

2002-07-24 Thread Gary . Every
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

Re: [PHP-DB] Encode/Decode Secure Enough?

2001-04-07 Thread Jason Brooke
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

Re: [PHP-DB] Encode/Decode Secure Enough?

2001-04-07 Thread Rasmus Lerdorf
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] >