Re: [PHP] Clean variables sent from forms

2004-09-04 Thread lonewolf
I did this a lot when I built my quote program for my previous company. I have all my code at home, hence no way to give examples that I know work, however what I did was dump the form to a php page which processed the form and then used the header.location pieces to dump the user to the page t

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 containi

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 r

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