/* * 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 3 Guests are viewing this board. | ||||
Hamburger Jerky
Started by surfsteve |
6 Replies
4,728 Views |
June 18, 2017, 03:53:37 am by surfsteve |
||
8 Replies
6,066 Views |
September 05, 2010, 03:42:58 am by Susan |
|||
5 Replies
4,812 Views |
June 02, 2011, 06:19:50 pm by RawZi |
|||
3 Replies
12,226 Views |
June 03, 2014, 06:58:26 pm by Snamisolnsew |
|||
Muktuk Photo
Started by TylerDurden |
1 Replies
3,198 Views |
December 28, 2009, 12:09:13 am by William |
||
Bovine Anatomy Guide
Started by TylerDurden |
0 Replies
2,780 Views |
January 16, 2012, 11:52:17 am by TylerDurden |
||
Raw Mustard
Started by TylerDurden |
5 Replies
8,548 Views |
June 02, 2017, 08:53:26 pm by surfsteve |
||
Raw Mustard-Making
Started by TylerDurden |
0 Replies
3,102 Views |
March 26, 2009, 08:28:19 pm by TylerDurden |
||
todays lunch
Started by unthink |
2 Replies
3,488 Views |
June 12, 2009, 12:55:18 am by unthink |
||
Paleo Green Smoothie Recipes
Started by vrodmuscle |
2 Replies
4,403 Views |
June 23, 2012, 04:02:19 am by RawZi |
||
Grass-fed Liver, Sirloin, and Marrow
Started by Wolf |
0 Replies
2,395 Views |
August 12, 2011, 08:14:17 pm by Wolf |
||
Jerky "Protein Bars"
Started by Wolf |
12 Replies
10,956 Views |
June 30, 2012, 06:35:37 pm by letsdoiteczema |
||
Chocolate Syrup
Started by Wolf |
9 Replies
7,066 Views |
July 06, 2011, 02:38:56 am by Wolf |
||
Tomato Basil Soup
Started by Wolf |
0 Replies
2,577 Views |
July 02, 2011, 05:48:55 pm by Wolf |
||
4 Replies
4,626 Views |
July 20, 2011, 06:11:15 am by Wolf |
|||
Applesause
Started by Wolf |
2 Replies
2,760 Views |
July 05, 2011, 09:29:34 am by Wolf |
||
Fruit Salad
Started by Wolf |
4 Replies
4,817 Views |
August 13, 2011, 08:16:27 pm by Wolf |
||
Raw Ravioli
Started by Wolf |
4 Replies
4,857 Views |
July 04, 2011, 08:05:21 am by goodsamaritan |
||
Lex's $10 Beef Jerky Maker & Recipes
Started by xylothrill |
8 Replies
10,737 Views |
March 25, 2010, 03:08:08 am by KD |
||
SALMON ADDICTION
Started by yuli |
22 Replies
13,710 Views |
September 24, 2010, 04:12:08 am by Michael |
||
Chewing gum as Nature intended
Started by yuli |
7 Replies
8,925 Views |
September 16, 2010, 11:25:39 pm by yuli |
||
9 Replies
6,197 Views |
October 04, 2010, 04:42:43 am by yuli |
|||
Curry-style beef bowl
Started by yuli |
11 Replies
6,290 Views |
September 23, 2010, 05:33:06 am by Michael |
||
Back-yard yumminess!
Started by yuli |
10 Replies
6,327 Views |
September 16, 2010, 02:44:05 am by djr_81 |
||
Raw Paleo JUNK FOOD (=
Started by yuli |
14 Replies
12,207 Views |
February 02, 2011, 05:44:39 am by sanborn |
||
49 Replies
23,109 Views |
October 08, 2010, 02:54:29 pm by Sully |
|||
Gogol-Mogol - chocolate style!
Started by yuli |
8 Replies
6,691 Views |
September 24, 2010, 02:17:03 pm by RawZi |
||
Lamb organs, tasty
Started by yuli |
7 Replies
5,706 Views |
October 02, 2010, 03:49:53 am by Viola |
||
NAMEKO shroooms
Started by yuli |
4 Replies
3,892 Views |
September 22, 2010, 11:57:35 am by yuli |
||
Article on Fermented Icelandic Sheep
Started by zeno |
4 Replies
4,148 Views |
December 28, 2011, 03:34:48 pm by RawZi |
||
Pickled Animal Parts
Started by zeno |
2 Replies
3,614 Views |
January 09, 2012, 11:23:02 am by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll