Re: [PHP] encrypt/decrypt sqlite data

2004-12-10 Thread Richard Lynch
Shawn McKenzie wrote: > This is my first adventure with mcrypt and also the sqlite stuff. > > Via file upload I am getting a SQL dump file and running it as a query > to insert data into a sqlite db. This works great. > > Then I am trying to use an update query to encrypt fields in all rows by > u

[PHP] encrypt/decrypt sqlite data

2004-12-10 Thread Shawn McKenzie
This is my first adventure with mcrypt and also the sqlite stuff. Via file upload I am getting a SQL dump file and running it as a query to insert data into a sqlite db. This works great. Then I am trying to use an update query to encrypt fields in all rows by using the sqlite_create_function to r

Re: [PHP] Encrypt/Decrypt help

2004-06-21 Thread John Brooks
On Mon, 21 Jun 2004 13:01:33 -0400, John Fano <[EMAIL PROTECTED]> wrote: > > Boy, I feel retarded. That was it. Thank you. I used $filename in the > encrypt stage and when I copied and pasted into the decrypt file I used > a snippet from Dreamweaver that I had for reading a file into an array,

Re: [PHP] Encrypt/Decrypt help

2004-06-21 Thread John Fano
Boy, I feel retarded. That was it. Thank you. I used $filename in the encrypt stage and when I copied and pasted into the decrypt file I used a snippet from Dreamweaver that I had for reading a file into an array, which had $fname in it. Sometimes it takes a second set of eyes. Thanks again

Re: [PHP] Encrypt/Decrypt help

2004-06-21 Thread R'twick Niceorgaw
Hi John, Quoting John Fano <[EMAIL PROTECTED]>: > BEGIN DECRYPT CODE* > $filename = $_GET["q"]; > $getdata = file($fname); What is in $fname? Shouldn't it be $filename? HTH R'twick This message was sent

[PHP] Encrypt/Decrypt help

2004-06-21 Thread John Fano
Greetings! I am working on a web site in which there is a need to store the orders. Part of the order is some personal info which should not be stored in plain text (SS number). Basically what I have is a submission order form which I want to encrypt the input and store it on the server in a

[PHP] Encrypt/Decrypt

2002-02-26 Thread Nick Richardson
Forgive me if this is a very basic question, i can't find the info in the manual/function list. I want to encrypt a password w/ a salt string that is randomly generated (10 chars), and then prepend the salt string onto the beginning of the encrypted string, save the string in a database, and move