Hi Just quick one these function will help you protect your database.
mysql_real_escape_
http://us.php.
addslashes()
http://us.php.
Read up on these on PHP website visit thee links provided.
Hope this was useful.
Thanks
Mo
--- In PHP_MySQL_usergroup
>
> I'm noot sure if your form will be out on the web but wanted to also mention
> that you need to be careful about malicous entries in the fields that could
> severely damage your database. PHP offers a couple of functions to help
> with this. Unfortunately I can't remember them off the top of my head.
> That's what Google is for. :)
>
> Thanks,
> Kristy
>
> On Tue, Jul 7, 2009 at 11:23 AM, ammana2 <ammana2@...
>
> >
> >
> > hi,ya silly one.but tough..too. u need to check whether field is empty or
> > not.before u submit the form n extract the fields u jus check the eaxh
> > feild..jus check for not empty condition..
> > --- In PHP_MySQL_usergroup
> > Chris Parnell <cparnell1001@
> > >
> > > Hi All,
> > >
> > > Apologies if this seems a silly question but I am struggling to find a
> > > decent answer.
> > > I have forms that I use that enter information into a MySQL database
> > > and I want some form of validation to ensure that there are no empty
> > > fields... that's all.
> > >
> > > Any help would really be appreciated.
> > >
> > > Thanks
> > > Chris
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
Come to the monthly meetings at UTD in Richardson, TX.
Second Tuesday of every month.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
0 Comments:
Post a Comment