Re: [PHP-DB] SQL Injection attack

2005-08-25 Thread Vicente
echo 'illegal url'; die(); } // DB connection $connection=mysql_connect(...etc. ? if you can encode this script with Zend Encoder or a similar thing. It will be an additional measure to avoid the reading of this file. hope it can be useful, Vicente, -- PHP Database Mailing

Re[2]: [PHP-DB] phptotext]

2005-09-19 Thread Vicente
Yui wrote: $handle = popen(/usr/bin/pdftotext \$original_name\ - -layout ,'r'); $read = fread($handle, 2048000); echo $read; pclose($handle); But I can not see anything!! Please do help me! $tmpfile = '/home/domain/public_html/pdf_files/myfile.pdf'; chmod ($tmpfile, 0777); $salida =

Re: [PHP-DB] Storing Credit Cards, Passwords, Securely, two-way encryption

2006-01-06 Thread Vicente
Peter wrote: So I'm thinking about how to save credit card numbers in the DB, for re-charging cards for subscriptions, new orders, etc. I'm also thinking about how to save passwords in the DB, not plaintext, but not one-way encrypted either. Any suggestions? How would I secure the database?

[PHP-DB] Mirroring two DB

2006-02-28 Thread Vicente
Hi, I want to know how to mirror one MySQL database installed in two different servers so they can be synchronized. Any idea? thanks, -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Mirroring two DB

2006-02-28 Thread Vicente
thanks to all for the answers. I'm reading the Replication section of MySQL manual. It is exactly what I need. My scenary is of of one Mysql working in Intranet, and the replication in another server in Internet. Both working with Linux, I expect people indexing information in both sides at same

Re: [PHP-DB] IF ( $_POST['submit'] == Update Subscriptions OR $_POST['submit'] == Update Entire Account ) {

2007-03-21 Thread Vicente
Ron wrote: I am stuck again. If on the admin screen someone clicks UPDATE ADDRESS the address change is saved. BUT if I try to do an address change and then click UPDATE ENTIRE ACCOUNT the address change isn't saved. logical. It is not well structured. When clicking UPDATE ADDRESS you

Re[2]: [PHP-DB] Special chars UTF-8: sometimes ok, sometimes wrong

2007-10-19 Thread Vicente
, it can interfere with other previous scripts or tables, I don't recommend you. It is my experience. Hope it helps, Vicente, -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php