/* * 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 45 Guests are viewing this board. | ||||
3 Replies
2,049 Views |
October 29, 2011, 01:38:28 pm by TylerDurden |
|||
Sushi
Started by TylerDurden |
0 Replies
2,053 Views |
October 21, 2011, 09:59:38 pm by TylerDurden |
||
3 Replies
2,054 Views |
December 18, 2016, 02:23:12 am by RogueFarmer |
|||
Fast food far worse than thought
Started by TylerDurden |
1 Replies
2,056 Views |
April 15, 2016, 11:36:26 am by NuclearKnight |
||
2 Replies
2,067 Views |
April 13, 2014, 06:31:23 am by TylerDurden |
|||
The Future of Food
Started by TylerDurden |
2 Replies
2,068 Views |
February 21, 2012, 04:26:53 am by Löwenherz |
||
1 Replies
2,071 Views |
April 05, 2010, 11:55:26 am by William |
|||
0 Replies
2,071 Views |
November 12, 2012, 04:54:54 pm by Alive |
|||
2 Replies
2,079 Views |
June 09, 2016, 02:28:13 am by raw-al |
|||
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,080 Views |
October 21, 2013, 01:40:40 am by svrn |
||
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,088 Views |
February 13, 2010, 05:31:18 am by goodsamaritan |
||
1 Replies
2,088 Views |
December 01, 2012, 09:05:14 am by LePatron7 |
|||
Who's Monsanto's Best Friend in Congress?
Started by raw-al |
2 Replies
2,090 Views |
July 31, 2012, 01:14:15 am by raw-al |
||
0 Replies
2,090 Views |
January 29, 2018, 04:35:53 pm by TylerDurden |
|||
Bisin preservative warning
Started by TylerDurden |
1 Replies
2,094 Views |
August 17, 2011, 04:22:26 pm by TylerDurden |
||
2 Replies
2,095 Views |
May 31, 2016, 08:55:33 am by TylerDurden |
|||
1 Replies
2,096 Views |
December 11, 2014, 10:31:41 am by goodsamaritan |
|||
How bout parasites?
Started by pioneer |
1 Replies
2,097 Views |
June 22, 2010, 12:15:06 pm by ys |
||
3 Replies
2,098 Views |
September 21, 2012, 07:29:43 pm by CitrusHigh |
|||
Utopic Water
Started by Coatue |
1 Replies
2,100 Views |
November 05, 2010, 02:04:30 am by SkinnyDevil |
||
0 Replies
2,101 Views |
December 02, 2011, 08:27:49 am by TylerDurden |
|||
1 Replies
2,102 Views |
November 26, 2014, 12:11:39 am by van |
|||
High Meats = ALE/AGEs?
Started by MrBBQ |
1 Replies
2,106 Views |
May 15, 2010, 09:45:38 pm by alphagruis |
||
1 Replies
2,108 Views |
March 07, 2013, 08:40:41 am by LePatron7 |
|||
New article on animal slaughter
Started by TylerDurden |
0 Replies
2,109 Views |
February 09, 2015, 02:03:00 am by TylerDurden |
||
1 Replies
2,110 Views |
June 06, 2017, 12:03:33 am by surfsteve |
|||
Diet Cola-derived health problems
Started by TylerDurden |
2 Replies
2,115 Views |
January 07, 2014, 05:49:51 am by raw-al |
||
0 Replies
2,116 Views |
December 28, 2009, 08:03:27 pm by TylerDurden |
|||
1 Replies
2,117 Views |
July 25, 2017, 09:41:51 am by cobalamin |
|||
tenderising meat with KOJI?
Started by dair |
1 Replies
2,117 Views |
November 01, 2017, 10:57:16 pm by jibrael |
||
1 Replies
2,118 Views |
February 17, 2010, 03:06:46 pm by carnivore |
|||
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,119 Views |
November 30, 2009, 05:18:28 am by PaleoPhil |
||
0 Replies
2,123 Views |
October 12, 2013, 06:39:25 am by Projectile Vomit |
|||
A pro-cooking article-
Started by TylerDurden |
1 Replies
2,132 Views |
May 04, 2016, 11:52:29 pm by raw-al |
||
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,135 Views |
March 08, 2011, 03:26:01 am by Löwenherz |
||
Aging Successfully Reversed in Mice
Started by zbr5 |
2 Replies
2,142 Views |
April 02, 2014, 01:47:08 am by zbr5 |
||
0 Replies
2,143 Views |
February 17, 2010, 05:51:59 am by TylerDurden |
|||
Freelee update
Started by TylerDurden |
1 Replies
2,143 Views |
April 26, 2018, 10:26:05 am by dariorpl |
||
Paleo Diet for Heart Disease
Started by smokeyquartz |
2 Replies
2,144 Views |
September 02, 2021, 08:20:28 am by Poppy |
||
article on raw milk
Started by LePatron7 |
2 Replies
2,144 Views |
December 02, 2012, 11:42:24 pm by LePatron7 |
||
Vegans declare WAR!
Started by TylerDurden |
2 Replies
2,149 Views |
December 18, 2018, 11:59:16 pm by van |
||
Selenium yeast
Started by RogueFarmer |
1 Replies
2,154 Views |
April 26, 2017, 08:16:36 am by van |
||
1 Replies
2,160 Views |
October 15, 2012, 03:42:04 pm by TylerDurden |
|||
Fear or not to fear?
Started by leakybrain |
2 Replies
2,164 Views |
August 22, 2016, 12:05:42 am by dariorpl |
||
Edible clay
Started by jennie |
1 Replies
2,165 Views |
November 15, 2010, 09:43:58 am by TylerDurden |
||
1 Replies
2,166 Views |
July 14, 2013, 04:59:24 am by raw-al |
|||
1 Replies
2,167 Views |
September 07, 2016, 05:50:57 am by svrn |
|||
2 Replies
2,175 Views |
August 19, 2016, 06:51:03 am by eveheart |
|||
delete post
Started by 00nightstorm |
2 Replies
2,179 Views |
August 05, 2010, 10:58:01 pm by goodsamaritan |
||
Fermenting rice?
Started by surfsteve |
2 Replies
2,184 Views |
March 05, 2019, 12:12:03 am by surfsteve |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll