/* * 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; } } } } }
Hello everyone, after a long period of overscheduling my life I am finally back to AM!Hey Natey :P Were finally getting the foot* of snow here!
So, give me the lowdown on what I missed. (Last time I was here was before private worlds :o :( :lol: )
--Nate
Why does EVERYONE have to make a post saying they're back? Start posting and we'll notice you're back. ^-^
I guess I better say that I'm back too then. Sorry about being missing for the past 5 hours... :lol:
I guess I better say that I'm back too then. Sorry about being missing for the past 5 hours... :lol:
Thank god your back, I thought you may have left us all forever :'(
Why does EVERYONE have to make a post saying they're back? Start posting and we'll notice you're back. ^-^Oh, so you want me to start spamming the forums again? ;)
"the public's world geezer is back":roll:
ermm...... you havent been here that long.... :P
"the public's world geezer is back"
ermm...... you havent been here that long.... :P
:roll:
Lol, doug! Well anyways, its great to have you back Nate, now the old teamis back, before all those young Australian/New Zealand hooligans stole the light :lol: :D :P"the public's world geezer is back"
ermm...... you havent been here that long.... :P
Just a smile is considered Spam!!! Ow, I'm Telling...
:roll: