Welcome Guest, Not a member yet? Register   Sign In
Best way to solve unwanted uri characters.
#8

[eluser]mipa[/eluser]
Or you could always use regular expressions:

Code:
if (preg_match('/^[0-9]{1,2}$/', $param)) {
  // do something
}


Messages In This Thread
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 02:56 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 03:17 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 03:57 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 04:35 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 06:25 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 07:07 PM
Best way to solve unwanted uri characters. - by El Forum - 08-08-2007, 09:24 PM
Best way to solve unwanted uri characters. - by El Forum - 08-09-2007, 12:16 AM
Best way to solve unwanted uri characters. - by El Forum - 08-09-2007, 09:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB