/* * 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 36 Guests are viewing this board. | ||||
6 Replies
3,991 Views |
September 21, 2012, 10:58:21 am by Polyvore |
|||
Food Crisis in Venezuela
Started by TylerDurden |
6 Replies
3,997 Views |
June 17, 2016, 05:06:59 am by TylerDurden |
||
6 Replies
4,009 Views |
July 31, 2014, 06:58:32 am by Projectile Vomit |
|||
Robert Schoch - Forgotten Civilizations
Started by raw-al |
5 Replies
4,012 Views |
August 17, 2014, 04:31:11 pm by nummi |
||
Second look at sports supplements
Started by surfsteve |
8 Replies
4,015 Views |
August 20, 2017, 02:38:07 am by RogueFarmer |
||
Feeling SAD
Started by livingthelife |
6 Replies
4,019 Views |
August 22, 2009, 02:03:06 pm by The Barbarian |
||
Hoodia
Started by DeadRamones |
6 Replies
4,043 Views |
September 29, 2009, 09:16:13 pm by DeadRamones |
||
5 Replies
4,043 Views |
January 11, 2011, 01:38:49 am by turkish |
|||
5 Replies
4,047 Views |
April 09, 2012, 05:12:55 pm by Isthmus |
|||
7 Replies
4,054 Views |
March 09, 2011, 09:04:02 am by MaximilianKohler |
|||
4 Replies
4,062 Views |
June 22, 2009, 12:51:24 am by TylerDurden |
|||
Re: Substituting animal fats for olive oil
Started by William |
9 Replies
4,063 Views |
May 05, 2010, 04:41:48 pm by TylerDurden |
||
Re: Planning to ask the following things from Aajonus
Started by William |
9 Replies
4,078 Views |
April 20, 2010, 06:02:41 am by PaleoPhil |
||
Possible rawpalaeo horror?
Started by TylerDurden |
9 Replies
4,092 Views |
September 22, 2012, 01:25:38 am by goodsamaritan |
||
8 Replies
4,096 Views |
December 04, 2012, 11:04:56 am by Joy2012 |
|||
7 Replies
4,100 Views |
October 21, 2012, 09:52:18 am by Alive |
|||
Man eats raw baboon meat
Started by xnadam |
3 Replies
4,104 Views |
June 14, 2010, 07:46:56 pm by TylerDurden |
||
Cell phones dangerous
Started by kurite |
8 Replies
4,117 Views |
December 28, 2010, 01:28:45 am by raw-al |
||
Grass fed?
Started by William |
7 Replies
4,123 Views |
April 22, 2010, 12:24:44 pm by wodgina |
||
6 Replies
4,154 Views |
May 06, 2017, 03:56:15 am by cobalamin |
|||
7 Replies
4,176 Views |
July 09, 2013, 03:30:48 am by eveheart |
|||
Stamp Out GMOs
Started by raw-al |
5 Replies
4,183 Views |
October 21, 2010, 12:19:31 pm by the PresiDenT |
||
legalization of raw dairy
Started by a87.pal |
7 Replies
4,191 Views |
June 21, 2011, 09:29:30 am by Raw Kyle |
||
Good Calories, Bad Calories E-book
Started by vril176 |
5 Replies
4,192 Views |
May 05, 2010, 03:49:04 am by MrBBQ |
||
cooked food history
Started by svrn |
7 Replies
4,219 Views |
October 09, 2012, 12:42:44 am by Iguana |
||
Food Restriction and AGEs
Started by avalon |
4 Replies
4,223 Views |
December 27, 2008, 01:49:00 am by avalon |
||
don't drink the water
Started by sabertooth |
7 Replies
4,248 Views |
December 05, 2010, 09:20:48 pm by sabertooth |
||
Anti-Barry-groves Website
Started by TylerDurden |
0 Replies
4,262 Views |
June 23, 2009, 05:08:40 pm by TylerDurden |
||
Is Chia Oil the best Omega 3 source?
Started by Duke |
8 Replies
4,277 Views |
July 23, 2012, 11:36:20 am by Chris |
||
The Disappearing Male
Started by raw-al |
7 Replies
4,281 Views |
August 21, 2012, 12:53:11 am by goodsamaritan |
||
How do you handle cravings?
Started by zbr5 |
7 Replies
4,282 Views |
October 29, 2011, 08:43:14 pm by RawZi |
||
Raw Cannabis
Started by sabertooth |
5 Replies
4,287 Views |
November 10, 2016, 09:33:54 am by RogueFarmer |
||
fructose and hyperuricemia
Started by alphagruis |
5 Replies
4,302 Views |
June 02, 2010, 12:49:37 am by alphagruis |
||
Sexuality
Started by FlyingDutchwoman |
6 Replies
4,314 Views |
January 31, 2013, 06:36:55 am by Wolf |
||
9 Replies
4,326 Views |
June 09, 2016, 09:38:05 am by goodsamaritan |
|||
7 Replies
4,345 Views |
May 05, 2012, 09:33:33 pm by raw-al |
|||
Mrs Thatcher's Diet
Started by TylerDurden |
8 Replies
4,348 Views |
January 31, 2010, 02:17:29 am by TylerDurden |
||
8 Replies
4,353 Views |
March 16, 2011, 03:26:28 pm by MaximilianKohler |
|||
Strange reaction from raw liver?
Started by Caveman |
6 Replies
4,374 Views |
December 22, 2010, 11:28:44 pm by Haai |
||
7 Replies
4,400 Views |
November 26, 2010, 12:35:03 am by Roselene |
|||
7 Replies
4,410 Views |
May 12, 2019, 05:02:44 am by a_real_man |
|||
13 Replies
4,411 Views |
March 19, 2014, 11:30:40 pm by ys |
|||
12 Replies
4,428 Views |
July 11, 2013, 03:08:55 am by Dr. D |
|||
5 Replies
4,462 Views |
July 17, 2012, 01:03:20 am by Adora |
|||
5 Replies
4,501 Views |
August 06, 2019, 03:38:04 pm by LunarFey |
|||
camels can cure anything?
Started by raw |
5 Replies
4,508 Views |
January 14, 2013, 01:50:11 pm by CS |
||
Reishi Mushrooms
Started by Coatue |
7 Replies
4,527 Views |
January 23, 2011, 05:17:18 am by sabertooth |
||
Monsanto protected by law
Started by Dr. D |
6 Replies
4,540 Views |
October 08, 2013, 06:35:49 am by aprilez1 |
||
Wit
Started by William |
5 Replies
4,540 Views |
August 03, 2009, 06:39:40 pm by carnivore |
||
grain fed controversy
Started by svrn |
7 Replies
4,546 Views |
May 30, 2012, 03:07:03 am by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll