You must validate/filter all GET and POST data, as it can all be easily spoofed. Check that the values received are of the correct length and type, and reject them if not. Additionally, you could check the values of the $Page value in this example against an array of allowed values (see [man]in_array[/man]).