Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    kjc
    kjc is offline
    New Coder
    Join Date
    Jun 2002
    Location
    England
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dycrpting Passwords

    I have created an ecommerce site which accepts credit cards. They are encrypted into MySQL using the password function.

    I am now designing an admin interace for my client, and I need to be able to display the credit card information on a secure page which he views. I am having trouble decrypting the card number though. Any ideas...

    The code I am using to insert is

    $query="insert into payment_details values
    ('','$Customer_ID','','$total_price','$delivery','$final_price','$card_name',password('card_number') , '$card_start_month','$card_start_year','$card_expiry_month','$card_expiry_year','$card_type','$card_ issue')";

    $result=mysql_query($query);

    Probably be a simple solution
    Last edited by kjc; 10-01-2002 at 07:35 PM.
    Eternity

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    British Columbia
    Posts
    235
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am not familiar with the MySQL password function, but often with encryption functions there is no way to decrypt them.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •