/* * 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 | ||
---|---|---|---|---|
Fenrir and 92 Guests are viewing this board. | ||||
quail eggs
Started by Wolf |
8 Replies
5,443 Views |
August 21, 2014, 01:17:56 am by Wolf |
||
Iris colour change on a raw animal food diet
Started by TylerDurden « 1 2 » |
42 Replies
60,940 Views |
August 19, 2014, 05:40:55 am by jrawsychuk |
||
Is wild food actually healthier?
Started by AnopsStudier « 1 2 » |
33 Replies
13,033 Views |
August 15, 2014, 09:42:25 pm by jessica |
||
36 Replies
20,921 Views |
August 10, 2014, 01:05:17 am by FRANCIS HOWARD BOND |
|||
3 Replies
2,347 Views |
August 09, 2014, 09:13:10 pm by jessica |
|||
0 Replies
1,403 Views |
August 09, 2014, 01:32:22 am by gigantictv |
|||
Eating raw from grocery beef...
Started by vatrawpaleo |
8 Replies
3,324 Views |
August 08, 2014, 12:22:46 am by vatrawpaleo |
||
0 Replies
1,885 Views |
August 06, 2014, 08:56:13 pm by TylerDurden |
|||
3 Replies
1,980 Views |
August 05, 2014, 01:12:21 pm by van |
|||
13 Replies
5,665 Views |
August 05, 2014, 01:08:06 am by Cristaraw |
|||
rh negative pregnancy
Started by svrn |
7 Replies
4,605 Views |
August 04, 2014, 10:00:49 pm by goodsamaritan |
||
Looking for a GOOD Paleo recipe book
Started by sammiefields |
3 Replies
2,176 Views |
August 03, 2014, 03:59:10 am by sammiefields |
||
Sugars effect on protein digestion
Started by favetelinguis |
5 Replies
2,868 Views |
July 28, 2014, 01:08:07 am by van |
||
what I still do not understand
Started by FruitAndVegLover |
2 Replies
2,114 Views |
July 20, 2014, 05:50:03 am by eveheart |
||
How to get accross RAW sardines?
Started by Sorentus |
3 Replies
2,206 Views |
July 15, 2014, 02:15:56 pm by TylerDurden |
||
26 Replies
18,160 Views |
July 15, 2014, 03:16:21 am by FRANCIS HOWARD BOND |
|||
Entering the paleo world
Started by Tom2992 |
5 Replies
2,407 Views |
July 15, 2014, 12:04:29 am by TylerDurden |
||
8 Replies
4,485 Views |
July 12, 2014, 07:17:48 am by Alive |
|||
Frustrated
Started by chuck5855 |
24 Replies
8,743 Views |
July 07, 2014, 08:04:47 am by goodsamaritan |
||
Silica from sand?
Started by nummi |
2 Replies
1,752 Views |
July 05, 2014, 06:27:56 am by Sorentus |
||
15 Replies
5,777 Views |
July 04, 2014, 03:27:01 am by eveheart |
|||
Terramin Clay
Started by giveroftime |
7 Replies
4,973 Views |
June 28, 2014, 04:14:55 pm by moringa82 |
||
New to this and need a place to start.
Started by chuck5855 |
6 Replies
3,229 Views |
June 28, 2014, 01:31:10 am by eveheart |
||
Raw Intestine - Can You Eat It?
Started by Techydude |
4 Replies
4,545 Views |
June 27, 2014, 11:57:26 pm by FRANCIS HOWARD BOND |
||
pastured pork/boar fat v. grassfed suet
Started by a87.pal |
10 Replies
6,252 Views |
June 25, 2014, 04:16:40 pm by Taylorspruill2014 |
||
Some farmers' markets a con?
Started by TylerDurden |
1 Replies
1,583 Views |
June 24, 2014, 12:07:13 am by eveheart |
||
Kelp Noodles
Started by CatTreats |
5 Replies
4,073 Views |
June 22, 2014, 03:52:03 am by CatTreats |
||
1 Replies
1,744 Views |
June 22, 2014, 03:45:54 am by CatTreats |
|||
Resistant Starch
Started by Odin |
9 Replies
5,979 Views |
June 21, 2014, 02:33:52 pm by Alive |
||
12 Replies
5,620 Views |
June 19, 2014, 07:57:24 pm by RogueFarmer |
|||
UK Royal turning to raw food diet
Started by TylerDurden |
4 Replies
2,166 Views |
June 18, 2014, 06:15:36 pm by Inger |
||
raw butter vs raw double cream
Started by moringa82 |
5 Replies
2,610 Views |
June 14, 2014, 01:24:30 am by eveheart |
||
Treating Food as an Investment
Started by Projectile Vomit |
1 Replies
1,584 Views |
June 11, 2014, 01:18:40 am by ys |
||
Eskimoes and omega 3
Started by TylerDurden |
24 Replies
11,609 Views |
June 10, 2014, 02:46:17 am by FRANCIS HOWARD BOND |
||
Sun Exposure
Started by CatTreats |
8 Replies
5,428 Views |
June 09, 2014, 07:34:43 pm by colorles |
||
Temporary Sleeping Aid?
Started by CatTreats |
10 Replies
5,714 Views |
June 08, 2014, 08:38:07 pm by goodsamaritan |
||
16 Replies
6,924 Views |
June 07, 2014, 12:58:05 pm by goodsamaritan |
|||
4 Replies
5,144 Views |
June 03, 2014, 07:02:12 pm by Snamisolnsew |
|||
11 Replies
5,239 Views |
June 02, 2014, 11:45:05 am by CatTreats |
|||
Why we eat what we do.......?
Started by AnopsStudier |
15 Replies
7,651 Views |
May 29, 2014, 12:14:08 am by Sorentus |
||
31 Replies
11,766 Views |
May 26, 2014, 08:20:51 pm by moringa82 |
|||
0 Replies
1,385 Views |
May 26, 2014, 05:14:50 pm by modernpaleoperson |
|||
1 Replies
1,737 Views |
May 26, 2014, 03:59:45 am by moringa82 |
|||
5 Replies
6,374 Views |
May 25, 2014, 11:13:18 pm by jameweights |
|||
I'm very egg-cited
Started by edmon171 |
1 Replies
1,758 Views |
May 25, 2014, 12:43:25 pm by CatTreats |
||
19 Replies
8,124 Views |
May 25, 2014, 12:18:22 pm by CatTreats |
|||
Is Suet or Tallow truly raw?
Started by Techydude |
5 Replies
3,563 Views |
May 25, 2014, 10:12:52 am by edmon171 |
||
Are you eating CASTRATED livestock?
Started by goodsamaritan « 1 2 » |
26 Replies
14,026 Views |
May 25, 2014, 03:49:18 am by sabertooth |
||
26 Replies
30,406 Views |
May 23, 2014, 03:35:17 am by CatTreats |
|||
lots of questions, im 'new' :)
Started by moringa82 |
3 Replies
2,143 Views |
May 22, 2014, 09:09:49 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll