/* * 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; } } } } }
Visit our website: www.rawpaleodiet.com
Join our Yahoo Group: RawPaleoDiet
RSS Feed Latest 50 Posts
Subject / Started by | Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 7 Guests are viewing this board. | ||||
1 Replies
2,513 Views |
March 10, 2011, 09:32:03 pm by goodsamaritan |
|||
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
1,876 Views |
January 23, 2011, 12:38:03 am by TylerDurden |
||
The great white north
Started by aariel |
1 Replies
2,163 Views |
September 30, 2009, 12:18:22 pm by William |
||
EMAIL/ FORGOT PASSWORD not working
Started by primalgirl |
1 Replies
2,339 Views |
January 09, 2014, 03:23:14 pm by goodsamaritan |
||
hello from the isle of man uk
Started by nimble |
1 Replies
2,329 Views |
August 28, 2013, 08:05:32 pm by TylerDurden |
||
1 Replies
2,927 Views |
March 11, 2015, 04:05:44 pm by goodsamaritan |
|||
Greetings from Australia
Started by irenekrey |
1 Replies
1,953 Views |
October 05, 2010, 10:31:56 pm by miles |
||
1 Replies
2,833 Views |
April 22, 2016, 07:26:10 pm by TylerDurden |
|||
Girlfriend and I are new to paleo
Started by misswoo |
1 Replies
1,944 Views |
November 01, 2010, 08:15:40 pm by TylerDurden |
||
Hello there!
Started by dair |
1 Replies
2,505 Views |
October 27, 2017, 05:47:22 pm by TylerDurden |
||
Hello everyone....!
Started by Ricky |
1 Replies
2,274 Views |
July 04, 2011, 06:49:15 pm by HIT_it_RAW |
||
Hi1 Carnut here for first time
Started by carnut |
1 Replies
2,544 Views |
January 25, 2015, 01:55:33 pm by cherimoya_kid |
||
Hello :)
Started by Healthysmile |
1 Replies
2,161 Views |
February 17, 2013, 06:51:38 am by TylerDurden |
||
Hello There
Started by Nishwash |
1 Replies
1,729 Views |
August 13, 2010, 03:04:22 am by TylerDurden |
||
You people make me sick!
Started by Caveman Living |
1 Replies
2,716 Views |
April 02, 2015, 08:45:04 pm by TylerDurden |
||
quick hello
Started by popeye |
1 Replies
1,992 Views |
November 04, 2009, 09:42:28 am by PaleoPhil |
||
Introduction
Started by Seeker_1 |
1 Replies
2,108 Views |
February 22, 2010, 08:15:08 pm by goodsamaritan |
||
Greetings from Upstate NY!
Started by havoxxlol |
1 Replies
2,327 Views |
October 06, 2017, 05:10:31 am by TylerDurden |
||
New to the Paleo lifestyle
Started by Johnh |
1 Replies
1,886 Views |
October 12, 2012, 11:08:44 pm by TylerDurden |
||
1 Replies
2,545 Views |
August 02, 2008, 08:56:56 am by xylothrill |
|||
Hello to everyone!
Started by Intoit |
1 Replies
1,998 Views |
November 04, 2011, 04:49:13 am by TylerDurden |
||
1 Replies
2,195 Views |
March 16, 2010, 08:39:56 pm by goodsamaritan |
|||
Getting Started
Started by csesuvra |
1 Replies
1,904 Views |
June 03, 2011, 12:34:23 am by CitrusHigh |
||
1 Replies
1,855 Views |
January 06, 2011, 02:08:06 am by TylerDurden |
|||
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,021 Views |
February 17, 2013, 04:08:07 am by van |
||
Failed as a vegan/raw vegan... disapointed
Started by Allen |
1 Replies
2,286 Views |
January 26, 2018, 03:38:12 am by TylerDurden |
||
My intro
Started by raw_iz_good |
1 Replies
1,898 Views |
January 24, 2011, 04:48:44 pm by TylerDurden |
||
Hey yo
Started by naturalbornmovers |
1 Replies
2,054 Views |
November 14, 2012, 07:23:20 am by LePatron7 |
||
Greetings from Norway
Started by Borge |
1 Replies
2,287 Views |
January 11, 2019, 10:25:38 pm by TylerDurden |
||
1 Replies
1,761 Views |
January 28, 2021, 06:40:22 pm by RAW T |
|||
new member from the philippines
Started by kelpguy |
1 Replies
2,804 Views |
May 12, 2019, 05:53:20 pm by goodsamaritan |
||
1 Replies
1,706 Views |
May 29, 2020, 11:03:15 pm by Satnee |
|||
1 Replies
2,044 Views |
July 31, 2010, 05:01:51 pm by TylerDurden |
|||
how do I change my name and username?
Started by pioneer |
1 Replies
2,106 Views |
May 19, 2010, 01:50:24 pm by goodsamaritan |
||
Holistic Medical Advice and Paleo
Started by Panohok |
1 Replies
2,391 Views |
September 21, 2013, 09:14:57 pm by Iguana |
||
didnt get sick! haha
Started by straight8 |
1 Replies
2,392 Views |
April 22, 2013, 03:03:44 pm by Spirit Bear |
||
dear fellows
Started by Witherby |
1 Replies
1,977 Views |
December 24, 2012, 12:33:18 am by cherimoya_kid |
||
Newbie From Brazil
Started by leakybrain |
1 Replies
2,907 Views |
August 16, 2016, 08:01:08 pm by TylerDurden |
||
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
1,907 Views |
October 24, 2011, 09:02:26 am by CitrusHigh |
||
Ciao
Started by Carne Cruda |
1 Replies
2,443 Views |
September 12, 2013, 08:53:41 pm by cherimoya_kid |
||
1 Replies
2,051 Views |
February 23, 2012, 06:41:04 pm by TylerDurden |
|||
1 Replies
2,656 Views |
January 17, 2018, 02:39:59 am by TylerDurden |
|||
Hello Everybody!
Started by rbastedo |
1 Replies
1,899 Views |
February 24, 2012, 07:14:18 am by ChefMasterOrange |
||
Hello, new member old follower.
Started by Hydrogenisagas |
1 Replies
2,864 Views |
July 12, 2016, 04:40:30 pm by TylerDurden |
||
whats up I come here from another forum
Started by radark |
1 Replies
1,505 Views |
January 20, 2021, 10:49:45 am by goodsamaritan |
||
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
2,271 Views |
June 17, 2019, 03:27:13 am by van |
||
1 Replies
3,077 Views |
December 10, 2008, 07:04:32 am by TylerDurden |
|||
Stephane, new here
Started by stephane |
1 Replies
2,039 Views |
September 21, 2019, 10:11:54 pm by TylerDurden |
||
1 Replies
2,171 Views |
August 19, 2020, 11:44:15 am by therouting |
|||
newbie query
Started by nightmare |
1 Replies
2,581 Views |
October 31, 2014, 11:50:46 pm by eveheart |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll