/* * 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 48 Guests are viewing this board. | ||||
20 Replies
6,712 Views |
August 01, 2017, 01:08:36 pm by TylerDurden |
|||
9 Replies
6,710 Views |
September 02, 2009, 10:15:16 am by letifer |
|||
11 Replies
6,708 Views |
December 16, 2009, 03:15:16 am by alphagruis |
|||
17 Replies
6,655 Views |
November 29, 2011, 04:56:41 am by TylerDurden |
|||
essiac tea
Started by svrn |
11 Replies
6,643 Views |
January 20, 2012, 11:25:11 pm by goodsamaritan |
||
FFS
Started by RogueFarmer |
7 Replies
6,642 Views |
January 24, 2016, 02:43:06 am by Projectile Vomit |
||
Farting Cures Cancer!!!
Started by TylerDurden |
4 Replies
6,631 Views |
October 25, 2008, 01:54:30 am by Satya |
||
food fermentation
Started by coconinoz |
5 Replies
6,631 Views |
July 23, 2009, 08:00:09 pm by mel |
||
The Stone Age Diet
Started by carnivore |
11 Replies
6,628 Views |
September 04, 2009, 04:55:59 am by Raw Kyle |
||
natural tobacco
Started by svrn |
11 Replies
6,611 Views |
October 06, 2012, 06:59:17 am by PaleoPhil |
||
Plastics component affects intestine
Started by Nicola |
14 Replies
6,598 Views |
December 23, 2009, 04:51:17 am by Raw Kyle |
||
food freedom
Started by svrn |
17 Replies
6,578 Views |
June 04, 2012, 09:29:29 pm by svrn |
||
Milk Myths by Daniel Vitalis
Started by majormark |
11 Replies
6,574 Views |
December 13, 2010, 04:43:40 am by laterade |
||
Hangover treatment recommendations?
Started by ontheroadnyc |
9 Replies
6,558 Views |
March 15, 2011, 11:42:15 pm by proteus |
||
20 Replies
6,538 Views |
August 20, 2018, 12:30:07 am by Grey-Cup |
|||
Will vegans develop horns?
Started by majormark |
13 Replies
6,500 Views |
October 26, 2010, 10:19:41 pm by raw-al |
||
12 Replies
6,470 Views |
May 22, 2014, 08:37:59 am by eveheart |
|||
16 Replies
6,459 Views |
September 02, 2016, 05:10:02 am by jessica |
|||
Wisdom teeth anyone?
Started by pioneer |
12 Replies
6,436 Views |
July 12, 2010, 11:29:07 am by pioneer |
||
Fruitarian interview in DM
Started by TylerDurden |
11 Replies
6,396 Views |
June 01, 2018, 07:56:30 pm by dair |
||
1 Replies
6,377 Views |
January 11, 2012, 02:54:08 am by ys |
|||
raw coconut aminos?
Started by a87.pal |
8 Replies
6,369 Views |
December 22, 2010, 11:10:37 pm by cliff |
||
Your take on Velvet Antler
Started by Duke |
12 Replies
6,368 Views |
March 03, 2012, 03:20:48 am by Darwinian Fitness |
||
14 Replies
6,360 Views |
October 02, 2011, 03:04:25 am by PaleoPhil |
|||
5 Replies
6,331 Views |
May 22, 2012, 03:14:29 am by mmspam31 |
|||
12 Replies
6,321 Views |
November 26, 2011, 12:30:40 pm by cherimoya_kid |
|||
Grassfed Beef in Ireland
Started by needs_and_wants |
8 Replies
6,311 Views |
May 14, 2010, 01:36:35 am by majormark |
||
Paul Chek video
Started by pioneer |
7 Replies
6,299 Views |
May 24, 2010, 06:07:25 am by pioneer |
||
Colonic Irrigation?
Started by Coatue |
6 Replies
6,283 Views |
August 26, 2011, 02:56:05 am by Dorothy |
||
16 Replies
6,282 Views |
July 28, 2016, 10:49:16 pm by dariorpl |
|||
Why are raw vegans so weak?
Started by meat_juice |
11 Replies
6,282 Views |
November 02, 2011, 11:14:01 am by cherimoya_kid |
||
We are somethingawfuls link of the day
Started by High-king |
14 Replies
6,268 Views |
February 25, 2010, 12:57:52 pm by High-king |
||
Georgians/Abkhasians
Started by Metallica |
7 Replies
6,256 Views |
September 29, 2008, 11:42:32 pm by Sully |
||
30 bananas exposed
Started by ys |
5 Replies
6,226 Views |
April 13, 2010, 12:48:24 pm by goodsamaritan |
||
Cassia VS Ceylon cinnamon
Started by surfsteve |
15 Replies
6,203 Views |
October 13, 2017, 02:12:50 pm by cobalamin |
||
the best option at buffet places?
Started by Joy2012 |
14 Replies
6,176 Views |
February 08, 2012, 01:52:07 pm by Joy2012 |
||
10 Replies
6,164 Views |
August 19, 2010, 03:17:07 am by Wolf |
|||
truth. you shall find.
Started by aunaturale |
10 Replies
6,158 Views |
March 10, 2010, 05:03:13 am by wodgina |
||
Stem Cell meat on its way
Started by TylerDurden |
10 Replies
6,156 Views |
June 06, 2014, 06:39:05 am by sabertooth |
||
10 Replies
6,135 Views |
July 25, 2013, 04:34:19 am by van |
|||
Vegetable sprouts
Started by Barefoot Instincto |
14 Replies
6,104 Views |
January 08, 2013, 02:20:37 pm by van |
||
9 Replies
6,066 Views |
December 23, 2014, 06:56:17 am by A_Tribe_Called_Paleo |
|||
10 Replies
6,042 Views |
August 02, 2010, 09:02:53 am by raw-al |
|||
8 Replies
6,034 Views |
April 26, 2014, 02:48:13 am by Celeste |
|||
15 Replies
6,000 Views |
April 10, 2017, 12:46:21 am by raw-al |
|||
10 Replies
5,954 Views |
May 31, 2010, 10:39:45 am by invisible |
|||
Paleo vs Vegan
Started by Sully |
8 Replies
5,950 Views |
March 14, 2015, 03:42:42 am by van |
||
Qesem Cave Site New Finding
Started by PaleoPhil |
7 Replies
5,932 Views |
October 16, 2009, 09:05:15 am by PaleoPhil |
||
8 Replies
5,928 Views |
February 10, 2011, 02:36:05 am by Iguana |
|||
Safe Sterilization
Started by protoject |
10 Replies
5,911 Views |
November 11, 2009, 08:40:22 pm by djr_81 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll