[PHP]Seals System
#5

Still i would prefer PDO over having to sanitize everything.

Why PDO is so good is because it sends the part in $db->prepare() to the database first.

Then after the mysql command is send, it will send the parameters. These parameters cant be querys on itself, and also wont be executed by the server under any circumstance.

Making it 100% safe against SQL injections without having to sanitize yourself.

But its of course a personal preference.

 

I learned when its about the game database or website that u can never be to cautious about security.

Sadly i had to learn it the hard way Tongue



Messages In This Thread
[No subject] - by Infinity - 04-22-2012, 05:06 PM
[No subject] - by Reza - 04-23-2012, 01:28 AM
[No subject] - by Wizatek - 04-23-2012, 04:56 AM
[No subject] - by Reza - 04-23-2012, 06:28 PM
[No subject] - by Wizatek - 04-24-2012, 04:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)