/* * 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 5 Guests are viewing this board. | ||||
Fermenting foods
Started by a_real_man |
10 Replies
6,228 Views |
October 07, 2018, 05:38:07 pm by dair |
||
Raw Cartilage/Collagen
Started by MrBBQ |
5 Replies
6,237 Views |
February 26, 2011, 01:04:29 am by Sitting Coyote |
||
Difficulty eating raw steak
Started by Owen405 |
7 Replies
6,245 Views |
April 06, 2016, 12:35:11 am by common_sense |
||
13 Replies
6,255 Views |
July 19, 2019, 10:02:56 pm by surfsteve |
|||
Organ Meat and Animal Fats Toronto?
Started by Poncho |
8 Replies
6,263 Views |
July 28, 2013, 11:44:56 am by Poncho |
||
5 Replies
6,280 Views |
September 02, 2010, 02:27:05 am by infinitenexus |
|||
9 Replies
6,313 Views |
April 20, 2012, 01:42:26 am by spitfiredd1 |
|||
4 Replies
6,408 Views |
June 05, 2012, 01:39:55 am by eveheart |
|||
14 Replies
6,470 Views |
November 07, 2011, 08:49:20 am by seek |
|||
Bronze Silver Gold
Started by KD |
10 Replies
6,534 Views |
February 20, 2010, 06:18:36 am by PaleoPhil |
||
12 Replies
6,570 Views |
October 06, 2011, 09:36:14 am by sabertooth |
|||
Who intentionally eats bugs?
Started by Robinlove |
12 Replies
6,664 Views |
June 23, 2017, 03:39:49 am by TylerDurden |
||
Raw Cacao Nibs?
Started by goodsamaritan |
7 Replies
6,718 Views |
February 06, 2013, 10:52:27 am by Barefoot Instincto |
||
11 Replies
6,769 Views |
December 19, 2015, 10:59:34 pm by goodsamaritan |
|||
Got really sick
Started by whatever |
9 Replies
6,822 Views |
January 04, 2010, 05:19:44 am by redfulcrum |
||
11 Replies
6,895 Views |
February 16, 2010, 04:03:41 am by TylerDurden |
|||
Wild Deer Eating Advice Wanted
Started by goodsamaritan |
8 Replies
6,896 Views |
July 25, 2012, 12:23:14 pm by Chris |
||
eating animal fat
Started by rjawad |
8 Replies
6,903 Views |
January 01, 2011, 03:47:10 pm by bharminder |
||
9 Replies
6,921 Views |
April 30, 2011, 11:29:42 pm by CitrusHigh |
|||
Meat suitable for the tropics?
Started by Diana |
9 Replies
6,931 Views |
February 17, 2010, 08:39:00 am by raw-al |
||
Newbie Mc'Newb here.
Started by RawGuy99 |
10 Replies
6,932 Views |
October 08, 2010, 05:42:37 am by RawGuy99 |
||
11 Replies
7,082 Views |
April 15, 2016, 01:01:42 pm by NuclearKnight |
|||
10 Replies
7,089 Views |
February 18, 2010, 11:40:55 am by PaleoPhil |
|||
2 Replies
7,146 Views |
January 28, 2011, 06:08:03 am by Josh |
|||
Raw Carbs for Candida
Started by Fermenter Zym |
10 Replies
7,340 Views |
June 13, 2012, 11:40:17 am by Alive |
||
4 Replies
7,365 Views |
July 29, 2010, 02:53:08 am by dsohei |
|||
13 Replies
7,372 Views |
November 28, 2011, 12:15:17 am by zeno |
|||
11 Replies
7,408 Views |
November 01, 2011, 04:30:34 am by Waldpfad |
|||
10 Replies
7,448 Views |
February 23, 2011, 02:32:14 am by djr_81 |
|||
Foraging in The UK/Ireland
Started by Brady |
7 Replies
7,454 Views |
August 31, 2010, 01:15:49 am by TylerDurden |
||
Calorie count
Started by RawGuy99 |
4 Replies
7,519 Views |
October 17, 2010, 10:22:46 pm by RawGuy99 |
||
Potato dinner replacement?
Started by Wolf |
12 Replies
7,562 Views |
July 28, 2010, 02:11:24 am by Wolf |
||
Low histamine
Started by Robinlove |
21 Replies
7,598 Views |
June 24, 2017, 12:45:37 pm by sabertooth |
||
6 Replies
7,707 Views |
December 02, 2010, 10:09:21 pm by yon yonson |
|||
dodgy fruit vs quality honey
Started by rawlion |
8 Replies
7,709 Views |
November 28, 2008, 03:00:40 pm by CarnĂ¡l |
||
18 Replies
7,717 Views |
July 24, 2017, 12:44:34 am by surfsteve |
|||
1 Replies
7,756 Views |
June 12, 2010, 12:35:39 pm by RawZi |
|||
Bletting astringent fruits
Started by PaleoPhil |
9 Replies
7,861 Views |
November 25, 2012, 12:12:14 pm by bookittyrun |
||
New to this and looking for feedback
Started by Fenrir |
20 Replies
7,922 Views |
July 28, 2017, 01:11:26 pm by Fenrir |
||
UK - Raw Nuts
Started by miles |
7 Replies
7,991 Views |
October 14, 2010, 07:14:52 pm by Michael |
||
13 Replies
8,004 Views |
June 07, 2010, 01:54:00 am by kurite |
|||
9 Replies
8,114 Views |
January 07, 2015, 09:47:18 am by eveheart |
|||
6 Replies
8,135 Views |
December 17, 2017, 03:43:31 am by dair |
|||
Just another Blogger
Started by msaurondon |
15 Replies
8,191 Views |
June 01, 2011, 10:30:30 pm by p0wer |
||
10 Replies
8,242 Views |
September 03, 2011, 07:53:33 pm by RawZi |
|||
What's toxic, what's not?
Started by Iguana |
5 Replies
8,326 Views |
November 19, 2010, 05:00:42 pm by Iguana |
||
9 Replies
8,359 Views |
April 27, 2013, 11:00:03 pm by goodsamaritan |
|||
4 Replies
8,409 Views |
December 26, 2009, 05:44:06 pm by alphagruis |
|||
14 Replies
8,470 Views |
December 09, 2013, 09:49:12 pm by Poncho |
|||
15 Replies
8,586 Views |
February 17, 2010, 06:17:38 pm by pc701 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll