[PHP-DB] FreeBSD 4.2 and ODBC

2002-01-15 Thread Paul G
Hi All, I'm just new to this list and I'm hoping somebody might have information leading to a PHP that can access an MS Excel Spreadsheet. FreeBSD 4.2, PHP 3.0.18 (for gif GD), Apache1.3.12. I have had no luck getting any of the ODBC functions to work with this OS (odbc_connect, php compiled

Re: [PHP-DB] FreeBSD 4.2 and ODBC

2002-01-15 Thread Paul G
3.ini file path is set to: /usr/local/lib (iODBC resulted in syntax errors last time I tried. I am new to this I should emphasize!) Also, any ODBC driver you would recommend? -Paul - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Paul G" <[E

Re: [PHP-DB] Storing Credit Card info

2002-01-17 Thread Paul G
Hi olinux, If I understand what you are saying...I would use mcrypt and encrypt the stored info, keeping the KEY and IV in a separate location for when you need it. Chances that anybody will break the triple des encryption without the KEY and IV are slim to none. That way, you don't have to freak

Re: [PHP-DB] Storing Credit Card info - Encryption Functions

2002-01-17 Thread Paul G
Hi olinux, This is what I ended up doing. This will work if you have a PHP that was compiled with mcrypt as it is, just pass the info to your encrypt and decrypt functions. The key I used is 123 but you can use something different. The Initialization Vector is hard coded, but there is a function