I read alot about SQL injections and stuff.
But actually, so many script have so many different ways, i am a little scared that 1 string function, nulifies the work of a previous.
like a function adds slashed to make the sting safe, and strip_slashes just removes them again, making the string dangerous again.
Is this piece of code:
$user = strip_tags(mysql_real_escape_string($_POST['login']));
enough the help against evil-people?
and if its a pagenumber
$page = (int) $_POST['page'];
will do right?
maybe an idea to make a general Security sticky here on the newbie board with loads of info on it?
Ow, and happy 2007 to all of you