/* * 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 21 Guests are viewing this board. | ||||
5 Replies
5,166 Views |
July 23, 2011, 03:58:37 am by cherimoya_kid |
|||
10 Replies
7,562 Views |
July 22, 2011, 10:21:49 pm by klowcarb |
|||
Quick growing of new skin
Started by raw-al |
2 Replies
2,446 Views |
July 15, 2011, 09:57:16 am by eveheart |
||
121 Replies
37,492 Views |
July 12, 2011, 05:14:38 am by PaleoPhil |
|||
Vodka, alcohol
Started by zbr5 |
6 Replies
5,052 Views |
July 09, 2011, 11:50:06 am by laterade |
||
Vague question for raw dairy drinkers
Started by TylerDurden |
21 Replies
9,352 Views |
July 05, 2011, 05:21:41 am by blimpie |
||
Wine!
Started by CitrusHigh |
3 Replies
3,000 Views |
July 05, 2011, 02:43:56 am by Haai |
||
The Grossness Awards 2011
Started by blimpie |
0 Replies
1,724 Views |
July 03, 2011, 11:28:46 am by blimpie |
||
Using Tanning Beds Safely
Started by Coatue |
1 Replies
2,306 Views |
July 03, 2011, 03:47:54 am by blimpie |
||
You can Vote for Paleo Diet
Started by PaleoPhil |
7 Replies
5,648 Views |
July 01, 2011, 09:48:57 am by PaleoPhil |
||
42 Replies
19,545 Views |
June 30, 2011, 11:18:02 am by PaleoPhil |
|||
0 Replies
1,595 Views |
June 22, 2011, 12:15:36 am by raw-al |
|||
Liver and glandular supplement?
Started by alycia |
6 Replies
4,656 Views |
June 21, 2011, 09:18:42 pm by Josh |
||
legalization of raw dairy
Started by a87.pal |
7 Replies
4,201 Views |
June 21, 2011, 09:29:30 am by Raw Kyle |
||
Your fav way to gently heat meat?
Started by Josh |
20 Replies
9,883 Views |
June 19, 2011, 08:18:10 pm by Roselene |
||
21 Replies
10,370 Views |
June 15, 2011, 10:01:13 pm by raw-al |
|||
4 Replies
3,816 Views |
June 14, 2011, 11:04:22 am by eveheart |
|||
That all important taste
Started by HIT_it_RAW |
22 Replies
9,843 Views |
June 03, 2011, 02:05:12 pm by HIT_it_RAW |
||
moldy suet
Started by epal |
9 Replies
5,708 Views |
May 20, 2011, 06:12:41 am by RawZi |
||
6 Replies
3,943 Views |
May 14, 2011, 01:11:21 pm by raw-al |
|||
4 Replies
3,637 Views |
May 07, 2011, 02:30:41 pm by Josh |
|||
Is there anything wrong with wine?
Started by achillezzz « 1 2 » |
49 Replies
24,812 Views |
May 06, 2011, 09:26:28 am by laterade |
||
18 Replies
9,204 Views |
May 05, 2011, 11:07:40 pm by cherimoya_kid |
|||
56 Replies
22,444 Views |
May 05, 2011, 02:29:37 am by Löwenherz |
|||
Raw Paleo Children?
Started by kurite |
12 Replies
9,743 Views |
May 04, 2011, 04:37:47 am by raw |
||
26 Replies
13,642 Views |
May 03, 2011, 03:36:14 am by Löwenherz |
|||
GMO Food Dump
Started by raw-al |
0 Replies
1,923 Views |
April 29, 2011, 10:53:26 pm by raw-al |
||
4 Hour Body
Started by freezerburn |
1 Replies
2,845 Views |
April 29, 2011, 02:27:07 am by Max |
||
26 Replies
11,396 Views |
April 26, 2011, 05:23:08 am by PaleoPhil |
|||
2 Replies
3,202 Views |
April 26, 2011, 05:13:23 am by PaleoPhil |
|||
Lunch Snake style
Started by raw-al |
14 Replies
6,861 Views |
April 24, 2011, 02:52:01 am by wodgina |
||
Another marathon runner dies of cancer
Started by Löwenherz |
3 Replies
3,040 Views |
April 23, 2011, 11:41:40 pm by Löwenherz |
||
Silver Amalgam Tooth filling news
Started by raw-al |
2 Replies
2,429 Views |
April 22, 2011, 10:27:26 pm by raw-al |
||
27 Replies
37,723 Views |
April 22, 2011, 07:20:48 am by raw-al |
|||
Pancreas supplement
Started by Josh |
15 Replies
8,392 Views |
April 20, 2011, 04:53:48 am by bharminder |
||
4 Replies
2,719 Views |
April 15, 2011, 10:08:05 pm by TylerDurden |
|||
Mike Tyson - Vegan?
Started by SkinnyDevil |
13 Replies
7,346 Views |
April 14, 2011, 01:11:37 am by TylerDurden |
||
where to get high dose iodine ?
Started by proteus |
13 Replies
7,174 Views |
April 13, 2011, 05:29:15 pm by Johan August |
||
110 Replies
39,721 Views |
April 12, 2011, 10:33:57 pm by proteus |
|||
anti-raw meat site
Started by MaximilianKohler |
1 Replies
2,341 Views |
April 12, 2011, 03:40:48 am by TylerDurden |
||
New diets for cows, sheep could cut emissions
Started by ys |
1 Replies
2,513 Views |
April 09, 2011, 07:25:54 am by kurite |
||
Blood - The most overlooked nutrient?
Started by Paleo Donk « 1 2 3 » |
57 Replies
21,804 Views |
April 03, 2011, 08:28:58 pm by sabertooth |
||
123 Replies
47,292 Views |
March 27, 2011, 04:09:35 pm by magnetic |
|||
Using Xylitol as a carb source?
Started by Josh |
12 Replies
8,340 Views |
March 27, 2011, 11:25:06 am by MaximilianKohler |
||
Goodbye Grass-fed Meat
Started by quietmule |
20 Replies
9,505 Views |
March 26, 2011, 03:23:20 am by Brother |
||
Dr. Clark Parasite Cleanse
Started by Coatue |
1 Replies
2,538 Views |
March 25, 2011, 08:53:02 pm by MaximilianKohler |
||
I want to keep my appendix/appendicitis
Started by Techydude |
22 Replies
13,877 Views |
March 25, 2011, 05:54:28 pm by magnetic |
||
8 Replies
5,193 Views |
March 24, 2011, 09:50:43 am by MaximilianKohler |
|||
0 Replies
2,271 Views |
March 23, 2011, 12:23:32 am by goodsamaritan |
|||
52 Replies
24,457 Views |
March 19, 2011, 09:14:32 pm by Brother |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll