/* * 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 13 Guests are viewing this board. | ||||
Craig Here!
Started by Craig |
7 Replies
6,416 Views |
December 30, 2014, 11:37:40 am by cherimoya_kid |
||
White stuff growing on meat.
Started by Core |
2 Replies
5,163 Views |
April 15, 2016, 11:29:23 am by NuclearKnight |
||
New to community, Have some questions
Started by consoomer |
3 Replies
1,387 Views |
April 25, 2022, 04:41:57 pm by MarkR |
||
2 Replies
2,315 Views |
March 01, 2022, 09:28:38 pm by political atheist |
|||
1 Replies
2,112 Views |
January 13, 2011, 11:36:40 pm by TylerDurden |
|||
a little about me, i guess
Started by colorles |
5 Replies
3,253 Views |
May 13, 2014, 05:48:42 am by CatTreats |
||
6 Replies
3,814 Views |
May 10, 2011, 08:59:45 am by ColeJames |
|||
G'day there
Started by Cobb Clan |
3 Replies
2,642 Views |
January 24, 2013, 02:26:08 pm by Cobb Clan |
||
Hello ALL - NEED HELP
Started by Coatue |
13 Replies
5,370 Views |
July 03, 2010, 03:17:35 pm by TylerDurden |
||
Hellllo nurse!
Started by CitrusHigh |
7 Replies
3,641 Views |
January 20, 2011, 05:55:53 pm by Bowen |
||
New to Paleo, considering more raw
Started by CinnamonGirl |
4 Replies
2,363 Views |
August 29, 2010, 09:09:07 pm by shannon |
||
New to RPD, some questions !
Started by ciervo-chaman |
8 Replies
5,811 Views |
December 29, 2014, 07:43:35 am by dariorpl |
||
50 Replies
21,116 Views |
February 21, 2010, 12:33:02 am by chucky |
|||
Newbie to Raw meat...
Started by Chronic |
9 Replies
4,418 Views |
June 15, 2013, 03:13:31 am by LifeIsExperience |
||
A guy searching for good health...
Started by CHK91 |
9 Replies
5,532 Views |
January 01, 2011, 11:19:45 pm by sabertooth |
||
1 Replies
2,055 Views |
February 23, 2012, 06:41:04 pm by TylerDurden |
|||
no more haggis?
Started by cfrench |
2 Replies
3,663 Views |
October 03, 2012, 11:05:49 pm by intrigued |
||
22 year old from norway
Started by centropen |
0 Replies
1,870 Views |
September 19, 2019, 03:20:38 am by centropen |
||
Always fine tuning
Started by Celeste |
22 Replies
8,538 Views |
February 04, 2014, 04:13:11 pm by blake |
||
You people make me sick!
Started by Caveman Living |
1 Replies
2,718 Views |
April 02, 2015, 08:45:04 pm by TylerDurden |
||
Greetings to everyone!
Started by Caveman |
3 Replies
2,202 Views |
December 02, 2010, 11:22:08 am by goodsamaritan |
||
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,029 Views |
February 17, 2013, 04:08:07 am by van |
||
Once upon a time
Started by cavebiatch |
6 Replies
3,762 Views |
December 30, 2013, 01:33:11 pm by cavebiatch |
||
2 Replies
2,323 Views |
August 11, 2012, 11:16:33 pm by joej627 |
|||
Hi1 Carnut here for first time
Started by carnut |
1 Replies
2,551 Views |
January 25, 2015, 01:55:33 pm by cherimoya_kid |
||
19 Replies
7,355 Views |
January 30, 2010, 10:36:12 pm by PaleoPhil |
|||
Ciao
Started by Carne Cruda |
1 Replies
2,446 Views |
September 12, 2013, 08:53:41 pm by cherimoya_kid |
||
2 Replies
2,538 Views |
July 02, 2010, 10:29:22 am by leadahead |
|||
Trying out raw paleo
Started by CaptainSparrow |
10 Replies
5,233 Views |
July 01, 2011, 10:48:19 pm by eveheart |
||
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,012 Views |
January 14, 2013, 04:59:40 am by jessica |
||
I'm New!! Hello!
Started by Calypso |
5 Replies
2,849 Views |
September 23, 2010, 11:16:56 pm by Calypso |
||
Another dietary freak
Started by caban |
13 Replies
7,330 Views |
March 03, 2011, 03:59:41 am by caban |
||
3 Replies
4,157 Views |
November 30, 2015, 02:20:27 am by thetasig |
|||
Michal from Poland
Started by Buddha |
3 Replies
1,330 Views |
December 01, 2021, 11:03:57 pm by tonyvee |
||
Hello, new here: Bubba
Started by bubba |
14 Replies
6,932 Views |
June 11, 2008, 03:36:41 pm by TylerDurden |
||
Hi everybody
Started by Brother |
12 Replies
5,414 Views |
August 28, 2010, 12:20:03 am by Arthas_ |
||
29 Replies
13,131 Views |
February 13, 2011, 07:39:59 pm by Bronwen |
|||
13 Replies
8,080 Views |
May 20, 2009, 09:02:54 am by phatdave |
|||
New to Paleo
Started by brodude |
1 Replies
2,482 Views |
October 14, 2014, 10:03:31 pm by goodsamaritan |
||
new to paleo
Started by brettie vedder |
2 Replies
2,528 Views |
April 28, 2010, 08:47:29 am by PaleoPhil |
||
5 Replies
2,911 Views |
January 03, 2019, 12:39:24 am by TylerDurden |
|||
17 Replies
9,109 Views |
May 31, 2011, 12:00:05 pm by Max |
|||
Coming back
Started by boxcarguy07 |
8 Replies
4,082 Views |
November 18, 2011, 06:18:05 pm by billy4184 |
||
Hello! Introducing myself!
Started by boxcarguy07 |
3 Replies
3,065 Views |
June 22, 2008, 01:12:08 am by boxcarguy07 |
||
First steps in Raw paleo world
Started by Boris |
6 Replies
3,477 Views |
July 26, 2013, 04:59:09 am by TylerDurden |
||
Greetings from Norway
Started by Borge |
1 Replies
2,292 Views |
January 11, 2019, 10:25:38 pm by TylerDurden |
||
Paleo in the Philippines
Started by boojieman |
8 Replies
4,727 Views |
May 17, 2014, 05:56:08 am by meatbeater |
||
Hi Everybody!
Started by blobby |
2 Replies
2,779 Views |
July 03, 2013, 06:18:52 pm by Samules |
||
7 Replies
3,823 Views |
February 12, 2014, 07:32:41 am by Celeste |
|||
Hi all, just introducing myself
Started by bish8303 |
2 Replies
2,241 Views |
March 31, 2012, 07:31:31 am by Lynnzard |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll