Hi!
Is there an easy way of protecting your php pages against mysql injections?
I remember seeing something like that once..
greetings,
thiscatis
[PHP] Anti MYSQL injection
Moderator: General Moderators
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
Checking all user input in forms is what you want it to be. http://pixelated-dreams.com/uploads/mis ... tSheet.pdf
Globals off - default in >4
Making sure all variables are unset before use incase someone adds them to the url eg
http://www.url.com?variable=naughtyvalue
mysql_real_escape_string http://uk2.php.net/manual/en/function.m ... string.php
Globals off - default in >4
Making sure all variables are unset before use incase someone adds them to the url eg
http://www.url.com?variable=naughtyvalue
mysql_real_escape_string http://uk2.php.net/manual/en/function.m ... string.php