FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP sql entry is a godaweful mess
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP sql entry is a godaweful mess [message #184537 is a reply to message #184072] Tue, 07 January 2014 04:17 Go to previous message
John Smith is currently offline  John Smith
Messages: 7
Registered: January 2014
Karma:
Junior Member
On Wed, 4 Dec 2013 11:35:40 -0000, <bored(at)now(dot)com> wrote:

>
>
> I've just decided to update some code so updated myself with the docs
> for mySQL entry cleaning and frankly I am totally confused.
>
> Can someone point to a very clear and unambigous instruction
> as to how to safely enter data into a mysql database?

Please use mysqli package with bound variables. Please refer to the
manual.

> Because I doubt thats even possible with PHP.

It is absolutely possible. All the sql injection and related are
solely the programmer(s) fault.

> As for mysqli and its unnecessarily obtuse syntax... well I'll be
> looking for alternatives.

What is exactly obtuse there?

John
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Loop through array, change headings
Next Topic: foreach problem part two
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 16:48:59 GMT 2024

Total time taken to generate the page: 0.05657 seconds