/* * 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 40 Guests are viewing this board. | ||||
What about water temperature?
Started by kurite |
4 Replies
2,828 Views |
January 30, 2010, 11:06:39 pm by cherimoya_kid |
||
Collection of BAD meats thread
Started by goodsamaritan |
4 Replies
2,759 Views |
January 30, 2010, 11:59:03 pm by spear of destiny |
||
1 Replies
1,773 Views |
January 31, 2010, 01:05:10 am by Carnivora |
|||
5 Replies
3,496 Views |
January 31, 2010, 04:26:28 am by Hannibal |
|||
Honey
Started by William |
11 Replies
6,245 Views |
January 31, 2010, 11:49:46 pm by cherimoya_kid |
||
How do you wash dishes?
Started by majormark |
9 Replies
5,495 Views |
February 01, 2010, 01:11:08 am by majormark |
||
intelligence
Started by jessica |
6 Replies
3,811 Views |
February 01, 2010, 06:20:00 am by William |
||
Raw Oysters
Started by Guittarman03 |
13 Replies
10,387 Views |
February 01, 2010, 07:19:38 am by RawZi |
||
Last question before I go 100% raw paleo
Started by kurite |
2 Replies
2,129 Views |
February 01, 2010, 05:53:12 pm by TylerDurden |
||
Non food reactions since going raw paleo.
Started by wodgina |
19 Replies
8,508 Views |
February 02, 2010, 12:06:24 am by RawZi |
||
First time for liver
Started by Ioanna |
8 Replies
3,998 Views |
February 02, 2010, 07:54:31 am by Raw Kyle |
||
2 Questions.
Started by miles |
3 Replies
3,060 Views |
February 02, 2010, 09:55:04 pm by afroza |
||
4 Replies
3,089 Views |
February 03, 2010, 06:16:33 am by Hannibal |
|||
21 Replies
9,773 Views |
February 03, 2010, 09:06:09 am by William |
|||
50 Replies
23,635 Views |
February 04, 2010, 12:28:42 am by alphagruis |
|||
is frozen NZ lamb irradiated for export?
Started by Nation |
0 Replies
2,191 Views |
February 04, 2010, 06:10:16 pm by Nation |
||
Wild harvested
Started by Yume |
5 Replies
3,404 Views |
February 05, 2010, 02:16:57 am by Yume |
||
5 Replies
3,556 Views |
February 05, 2010, 11:30:56 pm by William |
|||
Guinea Fowl
Started by miles |
3 Replies
2,725 Views |
February 06, 2010, 10:21:05 pm by roony |
||
Meat in protective gas?
Started by Kokki |
7 Replies
3,865 Views |
February 06, 2010, 10:29:30 pm by roony |
||
3 Replies
2,600 Views |
February 07, 2010, 06:24:19 am by cherimoya_kid |
|||
3 Replies
2,427 Views |
February 07, 2010, 04:19:06 pm by William |
|||
Heterocyclic Amines in Cooked Meats
Started by carnivore |
1 Replies
1,937 Views |
February 08, 2010, 10:06:53 pm by TylerDurden |
||
42 Replies
16,830 Views |
February 09, 2010, 05:26:37 pm by roony |
|||
1 Replies
2,174 Views |
February 09, 2010, 06:03:51 pm by roony |
|||
My steaks turned brown in the fridge
Started by kurite |
10 Replies
31,667 Views |
February 10, 2010, 07:00:08 am by PaleoPhil |
||
Silicon in RAF
Started by majormark |
11 Replies
5,253 Views |
February 10, 2010, 07:14:58 pm by alphagruis |
||
17 Replies
10,133 Views |
February 11, 2010, 03:28:42 pm by RawZi |
|||
Wild Rabbit
Started by miles |
8 Replies
4,861 Views |
February 11, 2010, 05:24:08 pm by TylerDurden |
||
7 Replies
4,267 Views |
February 12, 2010, 10:34:53 am by PaleoPhil |
|||
7 Replies
5,351 Views |
February 13, 2010, 01:42:42 pm by RawZi |
|||
25 Replies
10,703 Views |
February 14, 2010, 11:57:38 pm by miles |
|||
I cant get myself to eat raw meat
Started by kurite |
23 Replies
9,029 Views |
February 15, 2010, 03:21:57 pm by RawZi |
||
What kind of pork is healthiest?
Started by kurite |
1 Replies
1,855 Views |
February 15, 2010, 06:09:53 pm by TylerDurden |
||
9 Replies
8,614 Views |
February 15, 2010, 09:25:08 pm by Furion |
|||
Bleu cheese and mold on cheese.
Started by chucky |
8 Replies
8,670 Views |
February 16, 2010, 12:11:11 am by chucky |
||
2 Replies
2,566 Views |
February 19, 2010, 11:45:49 am by cherimoya_kid |
|||
Are there any Nutarians out there...?
Started by SuperInfinity « 1 2 » |
37 Replies
19,192 Views |
February 19, 2010, 11:48:07 am by cherimoya_kid |
||
Top 10 foods by digestion speed
Started by majormark |
4 Replies
5,363 Views |
February 19, 2010, 09:46:40 pm by Hannibal |
||
2 Replies
2,522 Views |
February 20, 2010, 03:41:37 am by Hannibal |
|||
7 Replies
5,816 Views |
February 20, 2010, 06:07:36 am by TylerDurden |
|||
7 Replies
4,258 Views |
February 20, 2010, 10:12:54 pm by cherimoya_kid |
|||
Need raw meat for B6?
Started by Matt51 |
0 Replies
2,383 Views |
February 20, 2010, 11:29:45 pm by Matt51 |
||
So why do we need shoes?
Started by kurite |
9 Replies
4,473 Views |
February 21, 2010, 08:17:36 am by kurite |
||
Is there any point to eating cow heart?
Started by kurite |
4 Replies
3,891 Views |
February 21, 2010, 10:02:48 pm by William |
||
paleolithic social/cultural structure?
Started by jessica |
3 Replies
3,112 Views |
February 22, 2010, 06:34:13 pm by goodsamaritan |
||
26 Replies
13,321 Views |
February 23, 2010, 03:29:59 am by RawZi |
|||
Unavailable Grass-fed Meat
Started by nielsz1972 |
19 Replies
9,996 Views |
February 23, 2010, 03:48:21 am by mudbeard |
||
Possible to ferment fat?
Started by Chester |
20 Replies
14,287 Views |
February 23, 2010, 05:27:22 am by PaleoPhil |
||
Mercola has become a big fan of raw foods
Started by Matt51 |
12 Replies
7,030 Views |
February 23, 2010, 06:21:04 am by MaverickHunter40245 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll