Re: [PHP] occasional mcrypt problems

2003-01-13 Thread Marek Kilimajer
As you have magic_quotes on, automatically happens *addslashes*, now you need to reverse the proces Steve Yates wrote: Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... try $_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']);

Re: [PHP] occasional mcrypt problems

2003-01-13 Thread Steve Yates
Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... As you have magic_quotes on, automatically happens *addslashes*, now you need to reverse the proces I think I see where you're going, but I'm not sure that's the correct avenue here. If slashes

Re: [PHP] occasional mcrypt problems

2003-01-10 Thread Marek Kilimajer
try $_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']); Steve Yates wrote: Hello, I recently implemented a database using MySQL that is storing selected fields encrypted. However on a very small number of records the decrypted result is not correct for some fields, for

Re: [PHP] occasional mcrypt problems

2003-01-10 Thread Steve Yates
Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... try $_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']); But if magic_quotes_gpc=on shouldn't that happen automatically? - Steve Yates - Brainstorm? No, but I had a