/* * 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 11 Guests are viewing this board. | ||||
0 Replies
10,853 Views |
February 22, 2010, 08:30:10 am by goodsamaritan |
|||
3 Replies
5,175 Views |
July 14, 2008, 10:30:19 pm by goodsamaritan |
|||
A few questions from a beginner
Started by akaikumo |
19 Replies
12,136 Views |
August 02, 2008, 11:29:37 am by xylothrill |
||
31 Replies
20,033 Views |
September 02, 2008, 08:28:55 am by xylothrill |
|||
0 Replies
4,302 Views |
November 10, 2008, 07:28:48 pm by igibike |
|||
dodgy fruit vs quality honey
Started by rawlion |
8 Replies
7,900 Views |
November 28, 2008, 03:00:40 pm by CarnĂ¡l |
||
description
Started by Satya |
10 Replies
8,947 Views |
December 11, 2008, 02:58:49 am by Sully |
||
MOVED: Dang, what a great forum!
Started by TylerDurden |
0 Replies
3,231 Views |
January 21, 2009, 11:02:52 pm by TylerDurden |
||
28 Replies
14,905 Views |
March 11, 2009, 04:21:07 pm by Dan |
|||
Bone Marrow Indigestion?
Started by Tundra |
2 Replies
4,018 Views |
April 25, 2009, 05:42:51 pm by TylerDurden |
||
Share your Typical Menu for the Day
Started by Tundra |
20 Replies
16,487 Views |
May 24, 2009, 12:55:08 am by Guittarman03 |
||
Complex carbs...carb crashes
Started by Josh |
1 Replies
4,594 Views |
May 26, 2009, 12:05:34 am by carnivore |
||
0 Replies
3,416 Views |
May 26, 2009, 09:56:02 pm by xEdgexRNx |
|||
Meal plan?
Started by xEdgexRNx |
12 Replies
18,202 Views |
July 08, 2009, 04:49:41 pm by TylerDurden |
||
101 Replies
62,250 Views |
July 15, 2009, 09:05:20 am by goodsamaritan |
|||
Talk about avocados
Started by goodsamaritan |
13 Replies
16,896 Views |
August 03, 2009, 03:50:12 pm by Iguana |
||
31 Replies
22,990 Views |
September 18, 2009, 03:10:25 am by Python |
|||
Experiment
Started by SkinnyDevil « 1 2 » |
46 Replies
23,538 Views |
October 10, 2009, 02:59:27 am by SkinnyDevil |
||
Hi! Newcomer here
Started by Donnyten |
16 Replies
10,877 Views |
October 10, 2009, 01:56:37 pm by Donnyten |
||
Is this Paleo?
Started by cchristophher |
2 Replies
9,927 Views |
November 22, 2009, 07:52:53 pm by TylerDurden |
||
1 Replies
6,101 Views |
December 03, 2009, 09:33:43 am by PaleoPhil |
|||
Paul Nison, Guru
Started by RawZi |
18 Replies
12,877 Views |
December 03, 2009, 09:50:07 pm by wodgina |
||
fermenting fruit?
Started by Neone |
4 Replies
5,024 Views |
December 20, 2009, 09:42:37 pm by Neone |
||
Ca/P ratio, does it matter?
Started by Diana |
18 Replies
11,693 Views |
December 25, 2009, 01:57:10 am by lex_rooker |
||
4 Replies
8,555 Views |
December 26, 2009, 05:44:06 pm by alphagruis |
|||
Got really sick
Started by whatever |
9 Replies
7,063 Views |
January 04, 2010, 05:19:44 am by redfulcrum |
||
Alternating high and low carb
Started by Diana |
18 Replies
18,774 Views |
January 05, 2010, 12:41:15 am by redfulcrum |
||
Frequency of low carb meals?
Started by Diana |
18 Replies
13,000 Views |
January 28, 2010, 08:47:15 pm by roony |
||
What am I missing?
Started by Yume |
5 Replies
4,442 Views |
February 07, 2010, 06:33:02 am by cherimoya_kid |
||
11 Replies
7,170 Views |
February 16, 2010, 04:03:41 am by TylerDurden |
|||
Meat suitable for the tropics?
Started by Diana |
9 Replies
7,170 Views |
February 17, 2010, 08:39:00 am by raw-al |
||
5 Replies
5,397 Views |
February 17, 2010, 01:06:46 pm by goodsamaritan |
|||
15 Replies
9,034 Views |
February 17, 2010, 06:17:38 pm by pc701 |
|||
10 Replies
7,343 Views |
February 18, 2010, 11:40:55 am by PaleoPhil |
|||
Bronze Silver Gold
Started by KD |
10 Replies
6,822 Views |
February 20, 2010, 06:18:36 am by PaleoPhil |
||
Teeth Profiles how carnivorous a person is meant to be?
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
31,326 Views |
February 25, 2010, 10:49:33 am by PaleoPhil |
||
Info on Raw Paleo
Started by raw-al |
1 Replies
2,939 Views |
March 02, 2010, 07:11:32 am by William |
||
Heavy exercise program on a paleo diet
Started by raw-al |
9 Replies
8,829 Views |
March 02, 2010, 07:38:59 pm by TylerDurden |
||
45 Replies
24,334 Views |
March 15, 2010, 05:20:07 am by MrBBQ |
|||
Are Bard Valley Dates raw?
Started by raw-al |
19 Replies
17,802 Views |
March 18, 2010, 12:12:24 am by chucky |
||
Giant Bananas!
Started by goodsamaritan |
14 Replies
11,636 Views |
March 31, 2010, 08:14:36 am by Sully |
||
3 Replies
4,754 Views |
March 31, 2010, 08:10:51 pm by majormark |
|||
Une recette de Cyril Attrazic
Started by RawZi |
2 Replies
4,350 Views |
April 21, 2010, 07:57:19 pm by patrick076 |
||
Can't digest hard raw suet?
Started by herboriste28 |
14 Replies
9,451 Views |
May 10, 2010, 06:54:09 am by PaleoPhil |
||
Skin Inflamation
Started by tehshyt |
8 Replies
5,314 Views |
May 28, 2010, 09:54:30 am by goodsamaritan |
||
Mold on avocado, etc.
Started by Odin |
9 Replies
31,724 Views |
May 31, 2010, 10:19:27 am by cherimoya_kid |
||
13 Replies
8,351 Views |
June 07, 2010, 01:54:00 am by kurite |
|||
Avocado dips..?
Started by Dwight |
8 Replies
6,335 Views |
June 11, 2010, 05:49:13 pm by Dwight |
||
1 Replies
7,847 Views |
June 12, 2010, 12:35:39 pm by RawZi |
|||
Sugar snap peas?
Started by kurite |
1 Replies
5,780 Views |
June 14, 2010, 04:47:25 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll