[PHP-DB] Re: [PHP-WIN] A measre of security

2007-02-17 Thread bedul
cmiiw - Original Message - From: Gustav Wiberg [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Wednesday, February 14, 2007 6:39 PM Subject: [PHP-WIN] A measre of security Hi! This is a kind of security-question I'm starting up a system, where several customers should be able

Re: [PHP-DB] mysql_real_escape_string

2007-02-17 Thread OKi98
Ron Piggott wrote: I am creating a form where I am using $web_site_# for the various fields. At the present time there are 11 fields I am asking the user to key in. I am wondering if there is a slick way to use the mysql_real_escape_string command with this so $web_site_1 =

[PHP-DB] Re: mysql_real_escape_string

2007-02-17 Thread Michael Weaver
Hi Ron, One thing that you could do is name the variables as an array as opposed to creating a series of like-named variables. Instead of: input name=web_site_1 type=sometype ../ input name=web_site_2 type=sometype ../ input name=web_site_3 type=sometype ../ ... input name=web_site_11