/* * 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; } } } } }
I like how it is because it right whe nI get home from schoolsame here
Hey I was just wondering why the time of day that it changes to a new month has been changed? Eg it used to be 10pm for me, now it's 10am. I think I prefer it the way it is, just wondering why. :wink:
Hey I was just wondering why the time of day that it changes to a new month has been changed? Eg it used to be 10pm for me, now it's 10am. I think I prefer it the way it is, just wondering why. :wink:
Quote from: "zkvac"Hey I was just wondering why the time of day that it changes to a new month has been changed? Eg it used to be 10pm for me, now it's 10am. I think I prefer it the way it is, just wondering why. :wink:
You can always move to the time zone that best meets your standards. :lol:
The last month change was a disaster. It fell right in the time where I was just going into Work and Will was in bed... So I had to change it to something more accessible to both of us for the future.