/* * 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 18 Guests are viewing this board. | ||||
1 Replies
2,102 Views |
March 07, 2013, 08:40:41 am by LePatron7 |
|||
40 Replies
17,285 Views |
March 07, 2013, 11:03:50 am by svrn |
|||
Traditional use of lean meat and fat
Started by William |
0 Replies
1,504 Views |
March 08, 2013, 02:09:24 pm by William |
||
Travelling with Beef Tallow
Started by mango |
12 Replies
5,322 Views |
March 14, 2013, 03:19:15 am by svrn |
||
Pemmican news
Started by William |
0 Replies
2,660 Views |
March 18, 2013, 12:37:55 pm by William |
||
raw breads
Started by svrn |
11 Replies
5,782 Views |
March 28, 2013, 05:39:11 am by Suiren |
||
the myth of paleo times
Started by svrn |
8 Replies
3,951 Views |
April 05, 2013, 03:41:54 am by svrn |
||
Vitamin B12 and the appendix
Started by majormark |
3 Replies
3,015 Views |
April 08, 2013, 01:38:09 am by van |
||
Nutrition Deficiency in GMO Corn
Started by raw-al |
0 Replies
1,452 Views |
May 07, 2013, 09:25:03 pm by raw-al |
||
Molecule in meat may increase heart disease risk
Started by aLptHW4k4y « 1 2 » |
30 Replies
10,523 Views |
May 08, 2013, 09:09:57 am by cherimoya_kid |
||
3 Replies
2,312 Views |
May 09, 2013, 07:40:23 am by svrn |
|||
Matt Monarch Waffles!
Started by RogueFarmer |
20 Replies
10,257 Views |
May 10, 2013, 07:54:18 am by cherimoya_kid |
||
TED Bad Science
Started by raw-al |
4 Replies
2,863 Views |
May 10, 2013, 03:01:15 pm by goodsamaritan |
||
Mmmmk, this should be fun
Started by Barefoot Instincto |
6 Replies
8,108 Views |
May 19, 2013, 12:16:29 am by Barefoot Instincto |
||
36 Replies
16,974 Views |
May 30, 2013, 12:47:25 pm by tests |
|||
Almond butter
Started by Michelle |
15 Replies
9,975 Views |
June 01, 2013, 03:58:01 pm by tests |
||
butter oil
Started by svrn |
3 Replies
3,006 Views |
June 01, 2013, 06:54:02 pm by cherimoya_kid |
||
25 Replies
19,160 Views |
June 08, 2013, 01:14:47 pm by LifeIsExperience |
|||
18 Replies
6,710 Views |
June 20, 2013, 12:52:06 pm by raw-al |
|||
4 Replies
2,932 Views |
June 20, 2013, 02:00:50 pm by raw-al |
|||
How do you make "Raw" Pemmican?
Started by goodsamaritan « 1 2 » |
31 Replies
15,580 Views |
June 20, 2013, 06:10:10 pm by zaidi |
||
33 Replies
12,787 Views |
June 25, 2013, 04:52:34 am by PaleoPhil |
|||
29 Replies
13,054 Views |
July 03, 2013, 01:00:10 pm by svrn |
|||
In vitro meat - what hell awaits.
Started by Spearhead |
17 Replies
11,024 Views |
July 06, 2013, 06:08:08 am by PaleoPhil |
||
So, what's in your scampi
Started by TylerDurden |
1 Replies
2,040 Views |
July 07, 2013, 02:45:29 am by eveheart |
||
7 Replies
4,181 Views |
July 09, 2013, 03:30:48 am by eveheart |
|||
12 Replies
4,439 Views |
July 11, 2013, 03:08:55 am by Dr. D |
|||
Is Cooked Food Poison?
Started by miles |
6 Replies
3,718 Views |
July 11, 2013, 10:52:50 am by cherimoya_kid |
||
1 Replies
2,161 Views |
July 14, 2013, 04:59:24 am by raw-al |
|||
Alcohol makes you stupid
Started by raw-al |
4 Replies
3,004 Views |
July 21, 2013, 09:50:08 am by Poncho |
||
10 Replies
6,113 Views |
July 25, 2013, 04:34:19 am by van |
|||
High fat raw vegan
Started by albertoceraw |
0 Replies
2,542 Views |
July 25, 2013, 07:36:42 am by albertoceraw |
||
6 Replies
4,817 Views |
August 16, 2013, 06:29:47 am by cherimoya_kid |
|||
156 Replies
47,787 Views |
August 25, 2013, 05:23:57 pm by TylerDurden |
|||
1 Replies
1,879 Views |
August 30, 2013, 03:20:13 am by raw-al |
|||
30 Replies
11,610 Views |
August 30, 2013, 03:56:07 am by Wai Kai Zen |
|||
Massive health problems. Good bye raw paleo!
Started by Löwenherz « 1 2 3 4 » |
86 Replies
30,808 Views |
September 05, 2013, 02:29:22 am by svrn |
||
0 Replies
1,883 Views |
September 05, 2013, 09:14:58 pm by Aura |
|||
1 Replies
2,273 Views |
September 06, 2013, 07:22:45 am by Dr. D |
|||
4 Replies
3,194 Views |
September 08, 2013, 05:59:49 am by Aura |
|||
Your ancestors didn't sleep like you
Started by Aura |
16 Replies
7,093 Views |
September 15, 2013, 12:40:10 am by Barefoot Instincto |
||
1 Replies
2,297 Views |
September 19, 2013, 12:06:37 am by Aura |
|||
30 Replies
11,782 Views |
September 21, 2013, 08:51:51 pm by Iguana |
|||
Different Kinds of Salt
Started by LePatron7 |
21 Replies
10,407 Views |
October 03, 2013, 07:59:18 am by svrn |
||
Anomaly
Started by TylerDurden « 1 2 » |
34 Replies
13,556 Views |
October 06, 2013, 12:07:24 pm by paper_clips43 |
||
2 Replies
2,255 Views |
October 08, 2013, 06:12:09 am by aprilez1 |
|||
Monsanto protected by law
Started by Dr. D |
6 Replies
4,554 Views |
October 08, 2013, 06:35:49 am by aprilez1 |
||
0 Replies
1,762 Views |
October 09, 2013, 01:45:32 am by svrn |
|||
1 Replies
2,209 Views |
October 10, 2013, 09:12:46 am by LePatron7 |
|||
71 Replies
24,898 Views |
October 11, 2013, 04:25:54 am by van |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll