Welcome Guest, Not a member yet? Register   Sign In
Major weirdness, sudden 404 with no changes.
#5

[eluser]Pascal Kriete[/eluser]
Careful with the ctype_digit(). It only works if you pass in a string. Because of the way php handles variables it might already be an int. I can't test it right now, but try doing $id = settype($id, "int");

EDIT: Actually, your best bet would probably be is_numeric($id)


Messages In This Thread
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 04:44 PM
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 05:15 PM
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 05:17 PM
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 06:04 PM
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 07:09 PM
Major weirdness, sudden 404 with no changes. - by El Forum - 01-11-2008, 07:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB