/* * 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 8 Guests are viewing this board. | ||||
Man the Hunter Revived
Started by PaleoPhil |
15 Replies
8,697 Views |
March 01, 2010, 07:18:02 am by alpha78 |
||
High meat video
Started by Chester |
10 Replies
6,764 Views |
February 27, 2010, 06:28:29 am by PaleoPhil |
||
Euphoria
Started by ForTheHunt |
13 Replies
7,197 Views |
February 24, 2010, 07:17:40 am by RawZi |
||
97 Replies
47,384 Views |
February 22, 2010, 05:11:12 am by PaleoPhil |
|||
4 Replies
4,513 Views |
February 19, 2010, 02:13:05 pm by van |
|||
66 Replies
27,027 Views |
February 18, 2010, 10:41:59 am by PaleoPhil |
|||
29 Replies
18,270 Views |
February 18, 2010, 03:59:41 am by carnivore |
|||
Beaver and muskrat meat
Started by herboriste28 |
6 Replies
5,123 Views |
February 18, 2010, 02:07:02 am by raw-al |
||
2 Replies
2,946 Views |
February 17, 2010, 04:49:41 am by TylerDurden |
|||
35 Replies
21,462 Views |
February 09, 2010, 10:27:45 am by PaleoPhil |
|||
5 Replies
4,034 Views |
February 06, 2010, 06:32:56 am by PaleoPhil |
|||
Buying an unprocessed part of beef
Started by ForTheHunt |
2 Replies
3,045 Views |
February 06, 2010, 01:15:46 am by ForTheHunt |
||
100% Carnivorous ... really?
Started by Satya |
14 Replies
13,980 Views |
February 03, 2010, 05:17:55 pm by goodsamaritan |
||
Avocados for zero carb?
Started by goodsamaritan |
8 Replies
7,051 Views |
January 31, 2010, 04:46:28 am by RawZi |
||
13 Replies
6,629 Views |
January 30, 2010, 11:28:58 pm by goodsamaritan |
|||
Raw Liver?
Started by sleepstalker « 1 2 » |
27 Replies
20,884 Views |
January 30, 2010, 08:38:13 pm by Stig of the Dump |
||
1 Replies
2,638 Views |
January 29, 2010, 03:08:38 pm by Hannibal |
|||
25 Replies
14,753 Views |
January 28, 2010, 10:17:41 pm by goodsamaritan |
|||
11 Replies
6,742 Views |
January 27, 2010, 02:32:05 pm by redfulcrum |
|||
Tapeworms? Salmonella?
Started by Dead Is the New Alive « 1 2 » |
36 Replies
21,157 Views |
January 24, 2010, 03:04:28 pm by RawZi |
||
Fruits and veggies don't protect against cancer
Started by carnivore |
0 Replies
2,687 Views |
January 19, 2010, 03:33:48 am by carnivore |
||
Meat Cuts?
Started by akaikumo |
5 Replies
5,597 Views |
January 14, 2010, 03:18:05 pm by spear of destiny |
||
124 Replies
56,211 Views |
January 12, 2010, 07:54:14 pm by TylerDurden |
|||
Undigested fat
Started by herboriste28 |
21 Replies
26,785 Views |
January 11, 2010, 06:22:17 pm by spear of destiny |
||
Affording a ZC diet
Started by Midnight |
13 Replies
9,743 Views |
January 11, 2010, 08:06:28 am by djr_81 |
||
8 Replies
7,265 Views |
January 10, 2010, 12:28:38 am by William |
|||
Cutting into fat
Started by redfulcrum |
9 Replies
4,821 Views |
January 07, 2010, 02:50:42 am by MMD |
||
Replenishing Glycogen
Started by redfulcrum |
7 Replies
7,774 Views |
January 07, 2010, 02:48:13 am by MMD |
||
Burning Protein/Flushing Amino
Started by miles |
10 Replies
5,911 Views |
January 06, 2010, 04:11:58 am by van |
||
I don't get how fish works.
Started by ForTheHunt |
1 Replies
2,643 Views |
January 06, 2010, 04:01:07 am by van |
||
19 Replies
12,498 Views |
January 05, 2010, 12:10:45 pm by PaleoPhil |
|||
How many hours do you sleep at night?
Started by redfulcrum |
4 Replies
3,240 Views |
January 05, 2010, 02:08:10 am by RawZi |
||
Eskimo's and osteoporosis
Started by Diana |
12 Replies
11,745 Views |
January 04, 2010, 08:44:00 am by redfulcrum |
||
64 Replies
27,527 Views |
January 04, 2010, 04:44:03 am by redfulcrum |
|||
Can Human Teeth Crush Raw Bone?
Started by PaleoPhil |
10 Replies
8,984 Views |
January 04, 2010, 02:45:44 am by redfulcrum |
||
14 Replies
8,692 Views |
January 03, 2010, 02:56:41 pm by redfulcrum |
|||
Vit A and bone marrow
Started by Diana |
7 Replies
4,726 Views |
January 03, 2010, 02:52:09 pm by redfulcrum |
||
Growing Intolerance of Red Meat
Started by PaleoPhil |
11 Replies
7,576 Views |
January 03, 2010, 02:48:57 pm by redfulcrum |
||
29 Replies
15,593 Views |
January 03, 2010, 02:23:34 pm by redfulcrum |
|||
Zero-carb trials re well-done meats
Started by TylerDurden |
10 Replies
8,753 Views |
December 25, 2009, 08:48:53 pm by moises |
||
poultry is heated
Started by DeadRamones |
10 Replies
6,841 Views |
December 09, 2009, 11:53:42 pm by raw |
||
... Salty?
Started by Dead Is the New Alive |
5 Replies
4,359 Views |
November 25, 2009, 03:09:04 am by RawZi |
||
Deer fat and brains
Started by PaleoPhil |
21 Replies
11,873 Views |
November 10, 2009, 01:15:38 pm by RawZi |
||
Feeder mice
Started by MaverickHunter40245 |
5 Replies
4,544 Views |
November 09, 2009, 11:24:47 am by DeadRamones |
||
4 Replies
3,173 Views |
October 26, 2009, 07:27:10 pm by RawZi |
|||
Compromise
Started by Dead Is the New Alive |
17 Replies
9,158 Views |
October 20, 2009, 05:25:22 am by Raw Kyle |
||
0 Replies
3,435 Views |
October 19, 2009, 07:10:01 am by reyyzl |
|||
Woman the Hunter
Started by PaleoPhil |
5 Replies
8,199 Views |
October 13, 2009, 10:48:25 pm by PaleoPhil |
||
Eating Roadkill...
Started by Neone |
14 Replies
9,469 Views |
October 10, 2009, 02:48:50 am by yon yonson |
||
Raw sterilized?
Started by iceman |
11 Replies
11,404 Views |
October 04, 2009, 09:53:18 am by Cthulhu |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll