/* * 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 53 Guests are viewing this board. | ||||
19 Replies
12,514 Views |
May 13, 2009, 02:32:31 am by Michael |
|||
Instructions to Members
Started by TylerDurden |
1 Replies
2,279 Views |
May 14, 2009, 06:07:32 pm by Josh |
||
little help?
Started by yon yonson |
15 Replies
7,737 Views |
May 16, 2009, 05:46:27 pm by TylerDurden |
||
Rendered fat from Wellness Meats - buyer beware.
Started by lex_rooker « 1 2 » |
29 Replies
16,292 Views |
May 19, 2009, 01:01:27 pm by lex_rooker |
||
Pics of rawpaleo/zero carb dieters
Started by Josh |
3 Replies
2,870 Views |
May 19, 2009, 08:14:10 pm by Josh |
||
suet vs. hide fat
Started by Raw Kyle |
11 Replies
7,265 Views |
May 20, 2009, 10:05:19 am by Raw Kyle |
||
Mental/Emotional/Moral Transition
Started by Audrey |
15 Replies
8,118 Views |
May 20, 2009, 11:30:03 pm by donrad |
||
motivation vs. laziness
Started by Raw Kyle |
13 Replies
7,864 Views |
May 21, 2009, 03:07:15 pm by goodsamaritan |
||
Eating hearts regularly
Started by Josh |
3 Replies
2,743 Views |
May 21, 2009, 09:13:55 pm by goodsamaritan |
||
Paleo Fingernails?
Started by goodsamaritan |
8 Replies
5,003 Views |
May 22, 2009, 12:22:23 am by Guittarman03 |
||
Sweetbreads, kidneys, tongue, heart, brain
Started by donrad |
8 Replies
8,732 Views |
May 23, 2009, 07:40:30 pm by TylerDurden |
||
post your daily meal plan!
Started by JaX |
5 Replies
3,697 Views |
May 25, 2009, 10:51:41 am by lex_rooker |
||
6 Replies
4,582 Views |
May 25, 2009, 09:55:02 pm by Josh |
|||
Psychological changes on Raw Paleo
Started by JaX |
3 Replies
2,664 Views |
May 27, 2009, 09:14:06 am by Guittarman03 |
||
time of day and your digestion
Started by Ioanna |
3 Replies
3,928 Views |
May 27, 2009, 12:48:55 pm by Hannibal |
||
mercury in fish...
Started by seesawsemiology |
23 Replies
13,524 Views |
May 27, 2009, 05:06:56 pm by TylerDurden |
||
I found a sushi market!
Started by yon yonson |
3 Replies
2,855 Views |
May 28, 2009, 03:14:43 am by dizzybee6 |
||
0 Replies
2,331 Views |
May 28, 2009, 11:03:47 am by PaleoPhil |
|||
Chocolate is
Started by wodgina |
5 Replies
4,571 Views |
May 28, 2009, 02:17:28 pm by jeraldybelleta |
||
Wild Fruit
Started by phatdave |
3 Replies
2,988 Views |
May 28, 2009, 06:30:13 pm by TylerDurden |
||
Order of energy sources
Started by Eurofusion |
2 Replies
2,553 Views |
May 30, 2009, 02:08:04 am by Hannibal |
||
11 Replies
7,401 Views |
May 30, 2009, 02:09:57 am by TylerDurden |
|||
13 Replies
7,367 Views |
June 01, 2009, 09:03:57 pm by goodsamaritan |
|||
Frogs?
Started by goodsamaritan |
5 Replies
4,076 Views |
June 04, 2009, 07:44:32 am by RawZi |
||
8 Replies
5,076 Views |
June 04, 2009, 07:47:00 am by RawZi |
|||
Raw Paleo Since Weaning
Started by Craig |
22 Replies
11,342 Views |
June 06, 2009, 06:13:45 pm by goodsamaritan |
||
celiac disease
Started by Haida |
4 Replies
2,991 Views |
June 09, 2009, 04:08:25 pm by goodsamaritan |
||
oil pulling
Started by Haida |
6 Replies
3,945 Views |
June 10, 2009, 08:03:02 am by goodsamaritan |
||
UK equivalent to SLANKERS?
Started by phatdave |
1 Replies
2,061 Views |
June 10, 2009, 09:55:50 pm by TylerDurden |
||
Omega-3 study
Started by TylerDurden |
5 Replies
3,522 Views |
June 10, 2009, 10:06:30 pm by Hannibal |
||
BLood Taste
Started by unthink |
2 Replies
2,760 Views |
June 10, 2009, 10:28:56 pm by van |
||
28 Replies
13,663 Views |
June 11, 2009, 08:19:56 am by phatdave |
|||
41 Replies
20,565 Views |
June 11, 2009, 06:36:21 pm by William |
|||
All Suet Is WHITE?
Started by Sully |
23 Replies
14,993 Views |
June 12, 2009, 06:06:50 pm by Josh |
||
salting meats?
Started by yon yonson |
2 Replies
2,840 Views |
June 13, 2009, 12:17:42 am by lex_rooker |
||
5 Replies
4,821 Views |
June 14, 2009, 09:55:17 am by goodsamaritan |
|||
Brains - Awesome!
Started by goodsamaritan |
1 Replies
2,528 Views |
June 14, 2009, 11:28:45 pm by donrad |
||
Meat to Veg/Fruit ratio?
Started by SkinnyDevil « 1 2 » |
25 Replies
14,265 Views |
June 17, 2009, 12:33:36 am by SkinnyDevil |
||
Blogs, Sites, & Paul
Started by SkinnyDevil |
2 Replies
2,511 Views |
June 17, 2009, 10:04:08 pm by SkinnyDevil |
||
emergency question
Started by TylerDurden |
5 Replies
3,812 Views |
June 18, 2009, 04:19:05 pm by TylerDurden |
||
COCONUT CREAM
Started by SAV |
13 Replies
10,418 Views |
June 18, 2009, 07:23:45 pm by SAV |
||
0 Replies
3,157 Views |
June 20, 2009, 04:04:00 am by goodsamaritan |
|||
Rational for various Paleo approaches
Started by SkinnyDevil |
8 Replies
6,538 Views |
June 20, 2009, 07:02:52 pm by TylerDurden |
||
2 Replies
2,900 Views |
June 21, 2009, 10:33:02 am by MaverickHunter40245 |
|||
51 Replies
21,073 Views |
June 24, 2009, 05:51:08 pm by Eurofusion |
|||
Standard diet for the ladies
Started by Eurofusion |
8 Replies
6,017 Views |
June 25, 2009, 04:16:23 pm by Hannibal |
||
Raw Jerky? Raw dehydrated meats?
Started by SkinnyDevil |
13 Replies
9,970 Views |
June 26, 2009, 08:47:18 pm by William |
||
Priority: Raw, paleo, or organic?
Started by SkinnyDevil |
8 Replies
5,539 Views |
June 26, 2009, 11:31:47 pm by Cosmo |
||
0 Replies
2,678 Views |
June 27, 2009, 05:57:05 pm by TylerDurden |
|||
13 Replies
7,134 Views |
June 28, 2009, 05:31:33 am by wodgina |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll