Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EZSQL The PHP Database Class
#9
In their documentation, they say:
Quote:$db->escape() makes any string safe to use as a value in a query under all PHP conditions. I.E. if magic quotes are turned on or off. Note: Should not be used by itself to guard against SQL injection attacks. The purpose of this function is to stop accidental mal formed queries.

Now considering that EZSQL is supposed to be an abstraction layer to the actual database that is used, how would you recommend you go about preventing SQL injection considering that mysql_real_escape_string implies that it will only work when you are using a MySQL database, and not another kind of SQL database?
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply


Messages In This Thread
EZSQL The PHP Database Class - by Omniscient - 01-16-2010, 06:24 PM
RE: EZSQL The PHP Database Class - by Jordan L. - 01-16-2010, 06:25 PM
RE: EZSQL The PHP Database Class - by Gaijin - 01-16-2010, 06:28 PM
RE: EZSQL The PHP Database Class - by Omniscient - 01-16-2010, 06:49 PM
RE: EZSQL The PHP Database Class - by Drake™ - 04-05-2010, 01:56 PM
RE: EZSQL The PHP Database Class - by php - 04-05-2010, 09:14 PM
RE: EZSQL The PHP Database Class - by Julie - 05-01-2010, 11:43 AM
RE: EZSQL The PHP Database Class - by MrD. - 06-01-2010, 02:44 PM
RE: EZSQL The PHP Database Class - by Legit - 05-31-2011, 09:14 AM
RE: EZSQL The PHP Database Class - by 0xE9 - 05-31-2011, 09:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  database problem danjohnson 0 1,267 11-13-2012, 10:56 PM
Last Post: danjohnson
  Database accessing in .NET MikeHenery9 1 1,607 07-14-2012, 06:37 PM
Last Post: 'Snorlax
  Creating and inserting data into a PHP and MySQL Database Peter L 9 4,717 03-24-2012, 10:49 AM
Last Post: Haxalot
  php write to mysqli database haphazard 4 2,292 12-10-2011, 08:28 AM
Last Post: ๖ۣۜмσg тιмєz
  how to open a 750 mb database,sql file? etc 17 7,643 08-21-2011, 03:57 AM
Last Post: AceInfinity

Forum Jump:


Users browsing this thread: 6 Guest(s)