/* * 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 2 Guests are viewing this board. | ||||
47 Replies
35,913 Views |
February 21, 2013, 10:29:20 am by Barefoot Instincto |
|||
Insanity on Raw Paleo?
Started by brazaov |
15 Replies
16,206 Views |
February 01, 2013, 01:18:18 pm by cherimoya_kid |
||
Vibram Five Fingers: US stockist
Started by Wattlebird |
10 Replies
16,293 Views |
December 03, 2012, 01:26:05 pm by lex_rooker |
||
26 Replies
26,726 Views |
November 05, 2012, 01:26:24 pm by eveheart |
|||
62 Replies
55,315 Views |
October 17, 2012, 12:12:49 am by LePatron7 |
|||
0 Replies
5,719 Views |
August 11, 2012, 02:03:18 am by SkinnyDevil |
|||
Should I workout?
Started by storm |
18 Replies
15,821 Views |
July 27, 2012, 01:14:38 pm by Chris |
||
10 Replies
11,495 Views |
July 21, 2012, 04:15:53 pm by Chris |
|||
4 Replies
6,729 Views |
July 19, 2012, 11:22:48 am by Dorothy |
|||
best muscle gaining program?
Started by joej627 |
12 Replies
13,031 Views |
July 18, 2012, 07:39:08 am by joej627 |
||
28 Replies
24,570 Views |
July 14, 2012, 09:24:04 am by mhikl |
|||
1 Replies
5,617 Views |
June 17, 2012, 01:52:43 pm by Dorothy |
|||
1 Replies
5,644 Views |
June 03, 2012, 12:04:07 pm by Sully |
|||
diabetes and bodybuilding
Started by blackrhino |
15 Replies
10,867 Views |
May 26, 2012, 12:13:58 am by blackrhino |
||
Face exercises?
Started by storm |
5 Replies
6,782 Views |
May 16, 2012, 07:35:23 am by Dorothy |
||
Anyone try P90X ?
Started by raw-al |
22 Replies
16,304 Views |
May 02, 2012, 11:00:37 pm by raw-al |
||
21 Replies
21,156 Views |
May 02, 2012, 08:17:19 pm by hilton |
|||
lifestyle and exercise frequency
Started by jessica |
4 Replies
4,543 Views |
May 01, 2012, 10:51:40 am by CarnivorousApe |
||
47 Replies
34,965 Views |
April 13, 2012, 05:35:44 pm by Waquini |
|||
101 Replies
70,342 Views |
March 30, 2012, 05:25:53 am by Justin |
|||
5 Replies
5,506 Views |
March 01, 2012, 09:14:36 pm by aLptHW4k4y |
|||
Eating Protein Without Fat
Started by Muhammad.Sunshine |
6 Replies
6,847 Views |
March 01, 2012, 03:24:25 pm by PrimiFit |
||
Muscle Activation Therapy
Started by zeno |
0 Replies
3,189 Views |
March 01, 2012, 12:20:01 pm by zeno |
||
0 Replies
2,738 Views |
February 28, 2012, 11:36:26 am by sanborn |
|||
Bartendin'
Started by Fermenter Zym |
2 Replies
3,727 Views |
February 22, 2012, 08:14:51 am by svrn |
||
GENETIC ELITE
Started by achillezzz |
3 Replies
4,502 Views |
February 02, 2012, 12:03:19 pm by giveroftime |
||
0 Replies
3,052 Views |
January 23, 2012, 06:10:27 am by LePatron7 |
|||
65 Replies
37,569 Views |
January 05, 2012, 08:16:43 am by PaleoPhil |
|||
Push-up Challenge
Started by SkinnyDevil « 1 2 » |
25 Replies
15,839 Views |
December 24, 2011, 12:03:38 pm by Fermenter Zym |
||
Pullin' a 556lb Deadlift weighing 157...
Started by B.Money |
15 Replies
10,176 Views |
December 05, 2011, 11:30:25 pm by KD |
||
Healing Musculoskeletal Problems
Started by Fermenter Zym |
8 Replies
6,561 Views |
December 01, 2011, 01:25:46 pm by Dorothy |
||
Stand on Your Head for Health
Started by zeno |
4 Replies
5,941 Views |
November 17, 2011, 05:11:27 am by cherimoya_kid |
||
Free Weight Exercises!
Started by Gilroye |
20 Replies
11,981 Views |
November 13, 2011, 04:08:39 am by Fermenter Zym |
||
132 Replies
78,962 Views |
September 07, 2011, 02:02:24 pm by crobiruiz |
|||
5 Replies
6,214 Views |
August 13, 2011, 07:59:41 am by eveheart |
|||
Modern Exercise Gear
Started by SkinnyDevil |
19 Replies
12,650 Views |
July 23, 2011, 06:13:35 pm by Josh |
||
98 Replies
50,433 Views |
July 06, 2011, 12:25:04 pm by HIT_it_RAW |
|||
Carb Cycling?
Started by Max |
5 Replies
5,843 Views |
June 22, 2011, 08:45:37 am by Max |
||
Eating Raw before or after workout?
Started by Coatue |
8 Replies
9,699 Views |
June 22, 2011, 01:59:19 am by Broderick5 |
||
is Stretching Paleo/Necessary?
Started by the PresiDenT |
14 Replies
10,814 Views |
June 17, 2011, 09:10:28 pm by HIT_it_RAW |
||
130 Replies
79,533 Views |
June 06, 2011, 05:22:49 pm by Barban |
|||
47 Replies
32,680 Views |
May 22, 2011, 10:36:52 pm by PaleoPhil |
|||
Weight training at home with a minimal setup
Started by Josh |
13 Replies
10,103 Views |
May 15, 2011, 01:45:38 pm by Josh |
||
114 Replies
60,149 Views |
May 11, 2011, 09:25:59 am by Bairdo25 |
|||
2 Replies
4,456 Views |
May 06, 2011, 08:38:38 am by KD |
|||
Low or Zero Carb Endurance Athletes?
Started by SkinnyDevil |
23 Replies
14,905 Views |
May 03, 2011, 04:22:59 am by Löwenherz |
||
Strength training and cortisol
Started by personman |
0 Replies
2,987 Views |
April 28, 2011, 06:17:04 am by personman |
||
Zero Carb bodybuilders/weight lifters?
Started by Josh |
6 Replies
6,448 Views |
April 28, 2011, 05:11:51 am by Josh |
||
MCT and LCT metabolism and transit time
Started by personman |
6 Replies
5,384 Views |
March 22, 2011, 08:50:27 am by cliff |
||
10 Replies
10,301 Views |
March 14, 2011, 09:23:31 am by Techydude |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll