urgh, i keep making those stupid mistakes... typing html instead of php, etc etc...
anyway, your redirect is right, getnumber returns -1, which is not supposed to happen if you have entered 4...
time to go hunt for the line of code that guy made that is now ruining our day!
Edit: or it...