[PHP] Clean variables sent from forms

2004-09-04 Thread Dre
Hi, I'm trying to perform a database insertion for a new record from data I receive from a HTML form I send the data to the file containing the insertion script and insert the values using the $_POST['variable_name'] every thing works fine, and the record get inserted correctly the problem is

Re: [PHP] Clean variables sent from forms

2004-09-04 Thread Jason Davidson
Make some field unique, so it wont work thats an easy solution, there other ways.. Jason Dre [EMAIL PROTECTED] wrote: Hi, I'm trying to perform a database insertion for a new record from data I receive from a HTML form I send the data to the file containing the insertion script and

Re: [PHP] Clean variables sent from forms

2004-09-04 Thread Chris Shiflett
--- Dre [EMAIL PROTECTED] wrote: I'm trying to perform a database insertion for a new record from data I receive from a HTML form I send the data to the file containing the insertion script and insert the values using the $_POST['variable_name'] Yikes, that sounds dangerous! Are you really

Re: [PHP] Clean variables sent from forms

2004-09-04 Thread Dre
thanks a lot I will try to do this Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Dre [EMAIL PROTECTED] wrote: I'm trying to perform a database insertion for a new record from data I receive from a HTML form I send the data to the file containing the

Re: [PHP] Clean variables sent from forms

2004-09-04 Thread lonewolf
, but as it moves through, you can't hit the pages doing the work. HTH, Robert - Original Message - From: Dre [EMAIL PROTECTED] Date: Saturday, September 4, 2004 1:35 pm Subject: [PHP] Clean variables sent from forms Hi, I'm trying to perform a database insertion for a new record from