Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
Below is an extract of my pagination script
If ?page=123 then page=123 then it's ok
But when i write ?page=<---something else---> It should print invalid query
but just gives me a blank page.
what should i do so that only a number is valid; to prevent the security attacks
and if ?page=34.365 then also it should be invalid.