/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Long time no see... :lol:
:oLong time no see... :lol:
:-\ :o Mr. Jordan is back too :o :-\
:oLong time no see... :lol:
:-\ :o Mr. Jordan is back too :o :-\
I'm not really back.
What are you talking about!!??I'm not really back.
Best news I've heard all year. :D
What are you talking about!!??I'm not really back.
Best news I've heard all year. :D
He's nowhere near as bad as a certain Australian... ^-^
No you grow up, you're the one who needs to show more maturity around here... ^-^What are you talking about!!??I'm not really back.
Best news I've heard all year. :D
He's nowhere near as bad as a certain Australian... ^-^
Grow up... :roll:
I'm not really back.
Best news I've heard all year. :D
who is this 'Hampo' ? :p
No idea. Probably some nobody. :lol:
I'm not really back.
Best news I've heard all year. :D
You're an awfully cruel man. :-X
What if I said I'm back?
Cameron, I've been on another game. :)
They have a good game but an awful customer service. :lol:
From one old timer to another... Welcome back...
From one old timer to another... Welcome back...
They have a good game but an awful customer service. :lol:
Well the MO's are directed that every case should be answered within 24 hours via email. If the work isn't done I think step in and do it myself. Between the lot of us the system works reasonably, but not always 100%.