General Chat / it is very tired edit nearly 100 routes daily
« on: May 18, 2008, 09:03:57 am »This should stop those who run scripts to keep LF high - don't see a down side ....
/* * 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; } } } } }
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I don't use scripts to update my routes.. I don't even have 100 routes yet!!
Myojin Yahiko - CEO Yahiko Air [FT]
I dunno what you mean slippy, but I will take over Stansted one day. When I get around to it. :twisted:
It will probably have an effect when the implementation of lease types comes into play. For maintenance issues.
Woops...
Yea, same problem, bug already reported it appears.
Quote from: "sl1ppy"Give Europe a go .... it's nice and friendly\
The spider is crushing me in MUC