Re: [PHP-DB] Credit Card Encryption

2007-12-26 Thread Jason Gerfen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I got messaged off list which I don't appreciate. But, yes PHP5 only or you could replace the lines for PHP4 and on: $keys[] = mhash( MHASH_SHA1, sha1( $array[$x] ) ); With: if( !function_exists( mhash ) ) { $keys[] = sha1( sha1( $array[$x] ) );

Re: [PHP-DB] Credit Card Encryption

2007-12-26 Thread Jason Gerfen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What I wrote there will work but I would highly recommend recompiling PHP with the --with-mcrypt --with-mhash switches. The mcrypt libraries can be found on sourceforge. http://libmcrypt.sourceforge.net Jason Gerfen wrote: I got messaged off list

[PHP-DB] Configuring PHP with MySQL

2007-12-26 Thread Balaji A
Hi, I have installed following things on windows machine. 1. Apache HTTP Server 2.2.4 2. PHP 5.2.3 3. MySQL 5.0.45 I am getting mysql_connect() not found. I have downloaded libmysql.dll, php_mysql.dll php_mysqli.dll and copied to c:\php\ext. I have uncommented these dll files in php.ini and

RE: [PHP-DB] Configuring PHP with MySQL

2007-12-26 Thread Szalay, Robert J. IT3
You should have a line like this in your httpd.conf PHPIniDir C:/Program Files/Apache Group/Apache2.2/php5.2 Make sure that is pointing to the directory where your php.ini is located. Success is the ability to go from one failure to another with no loss of enthusiasm. Sir Winston Churchill

Re[2]: [PHP-DB] Credit Card Encryption

2007-12-26 Thread sysvic
Instead functions and strategies to hide or divide information, why not using PHP with PECL extension and GnuPG to manage data using public/private key. This way is safer and easier. Only 3 lines of code: $gpg = new gnupg(); $gpg - addencryptkey(43243243243243243243243243243243242);

[PHP-DB] XSS

2007-12-26 Thread Mad Unix
Am facig problem with XSS cross Site scripting general on our web site, and i think its a coding issue since our dedicated server run Linux with apache mysql and php... any recommendation to resolve this issue -- madunix

Re: [PHP-DB] XSS

2007-12-26 Thread Daniel Brown
On Dec 26, 2007 3:05 PM, Mad Unix [EMAIL PROTECTED] wrote: Am facig problem with XSS cross Site scripting general on our web site, and i think its a coding issue since our dedicated server run Linux with apache mysql and php... any recommendation to resolve this issue Recode the site,

[PHP-DB] Download google spreadsheet

2007-12-26 Thread ioannes
I would like to get the information in a google spreadsheet (of a client) programatically into my database. I was thinking of using cURL, downloading the file into Excel, then uploading it into my database using a scheduled task, then cronjob some code to make it useful. However, the google

Re: [PHP-DB] Download google spreadsheet

2007-12-26 Thread TG
You might check the google documents api: http://code.google.com/apis/documents/overview.html -TG - Original Message - From: ioannes [EMAIL PROTECTED] To: php-db@lists.php.net Date: Wed, 26 Dec 2007 23:59:12 + Subject: [PHP-DB] Download google spreadsheet I would like to get the