/* * 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 16 Guests are viewing this board. | ||||
0 Replies
11,334 Views |
February 22, 2010, 08:30:10 am by goodsamaritan |
|||
Pineapples!
Started by goodsamaritan |
3 Replies
8,481 Views |
September 09, 2023, 06:01:19 pm by kelpguy |
||
Camping Raw
Started by smokeyquartz |
1 Replies
1,491 Views |
June 01, 2023, 01:19:10 pm by gomomo |
||
3 Replies
3,001 Views |
February 24, 2023, 08:29:07 am by Guittarman03 |
|||
used to be "anti-nut"...
Started by dair |
1 Replies
2,465 Views |
April 07, 2022, 11:19:26 pm by dariorpl |
||
0 Replies
1,946 Views |
January 25, 2022, 10:44:41 am by jmonkey |
|||
Fermented Vegetables
Started by Fermenter Zym |
14 Replies
10,505 Views |
January 29, 2021, 11:43:33 am by sabertooth |
||
bees fed on sugar?
Started by dair |
1 Replies
2,208 Views |
January 11, 2021, 01:06:58 am by dariorpl |
||
Eating raw conventional supermarket meat
Started by Sol^Sa |
7 Replies
5,176 Views |
January 18, 2020, 12:03:01 pm by madnomad |
||
Omnivorous v. Carnivore
Started by smokeyquartz |
1 Replies
2,431 Views |
January 16, 2020, 03:34:46 am by dariorpl |
||
honeycomb wax good for teeth?
Started by svrn |
17 Replies
23,912 Views |
October 23, 2019, 02:11:13 am by Sol^Sa |
||
Recommended Books
Started by smokeyquartz |
4 Replies
4,790 Views |
September 18, 2019, 03:16:49 am by Projectile Vomit |
||
Weight Loss vs Health
Started by LunarFey |
4 Replies
3,469 Views |
August 14, 2019, 11:53:31 am by thehadezb |
||
0 Replies
2,170 Views |
August 07, 2019, 05:23:04 am by LunarFey |
|||
Don't use black pepper...
Started by IonSurfer |
4 Replies
3,471 Views |
July 31, 2019, 02:48:05 am by surfsteve |
||
Verified unheated honey for newbie
Started by owsleytest |
7 Replies
4,301 Views |
July 30, 2019, 05:35:01 pm by norawnofun |
||
13 Replies
7,261 Views |
July 19, 2019, 10:02:56 pm by surfsteve |
|||
RPD alcohol - recipes?
Started by a_real_man |
1 Replies
2,853 Views |
May 28, 2019, 08:34:29 am by TylerDurden |
||
New and Concerns
Started by smokeyquartz |
10 Replies
5,355 Views |
May 26, 2019, 09:43:53 am by thehadezb |
||
14 Replies
7,038 Views |
April 27, 2019, 12:23:15 am by dair |
|||
Macronutrient ratio
Started by birdy |
0 Replies
2,313 Views |
March 13, 2019, 11:15:06 am by birdy |
||
Small fruit more "natural"?
Started by dair |
1 Replies
3,394 Views |
November 09, 2018, 09:05:34 pm by thehadezb |
||
Sun expoure and RPD
Started by a_real_man |
7 Replies
5,957 Views |
October 15, 2018, 10:01:18 am by madnomad |
||
Fermenting foods
Started by a_real_man |
10 Replies
7,040 Views |
October 07, 2018, 05:38:07 pm by dair |
||
meat inspector advice? etc
Started by PaganGoy |
2 Replies
3,530 Views |
July 17, 2018, 11:14:05 am by ys |
||
Black pepper!
Started by IonSurfer |
1 Replies
2,799 Views |
July 14, 2018, 06:37:33 am by norawnofun |
||
Raw fat sources
Started by Primalkellypei |
2 Replies
3,632 Views |
June 09, 2018, 08:22:52 am by Qondrar_The_Redeemer |
||
My current diet
Started by IonSurfer |
2 Replies
3,433 Views |
June 06, 2018, 05:15:39 am by Qondrar_The_Redeemer |
||
fluorescent bananas
Started by dair |
2 Replies
3,328 Views |
May 20, 2018, 08:29:33 pm by TylerDurden |
||
Now is the right time of the year for ...
Started by dair |
1 Replies
2,924 Views |
April 30, 2018, 04:45:37 am by dair |
||
Raw starchy vegetables
Started by Alive |
4 Replies
4,130 Views |
April 23, 2018, 03:06:52 pm by political atheist |
||
Onion greens?
Started by Fenrir |
0 Replies
2,468 Views |
April 21, 2018, 03:36:52 am by Fenrir |
||
Coconut Worms anyone?
Started by goodsamaritan |
1 Replies
3,132 Views |
April 20, 2018, 10:08:28 pm by PaganGoy |
||
3 Replies
3,155 Views |
April 18, 2018, 02:15:43 am by TylerDurden |
|||
Beef alternatives?
Started by PaganGoy |
7 Replies
4,894 Views |
March 23, 2018, 03:15:43 am by surfsteve |
||
Meat turning brown/black in freezer?
Started by PaganGoy |
4 Replies
3,731 Views |
March 07, 2018, 05:00:35 am by a_real_man |
||
Dealing with odors
Started by a_real_man |
4 Replies
3,896 Views |
March 04, 2018, 12:36:56 am by surfsteve |
||
Thoughts on organic duck and turkey?
Started by PaganGoy |
1 Replies
2,834 Views |
March 03, 2018, 09:41:32 am by sabertooth |
||
Meat open to the air
Started by Bradley David Good |
1 Replies
2,996 Views |
March 01, 2018, 07:18:23 am by a_real_man |
||
How to avoid cheating
Started by Apani |
3 Replies
3,602 Views |
February 24, 2018, 10:49:09 pm by Apani |
||
9 Replies
6,421 Views |
February 17, 2018, 08:44:47 pm by Apani |
|||
Raw chocolate - thoughts?
Started by a_real_man |
3 Replies
3,812 Views |
February 16, 2018, 03:39:40 am by dair |
||
How to Fatten on RPD?
Started by a_real_man |
8 Replies
5,283 Views |
February 13, 2018, 11:40:22 am by PaganGoy |
||
1 Replies
4,105 Views |
February 07, 2018, 03:07:16 am by tding |
|||
Insects - what to look for when buying
Started by a_real_man |
20 Replies
9,751 Views |
January 26, 2018, 06:02:50 am by a_real_man |
||
Freeze-dried Liver Powder
Started by Igla |
4 Replies
3,955 Views |
January 19, 2018, 03:43:01 am by TylerDurden |
||
Rendered lamb fat
Started by hereandnow |
8 Replies
5,403 Views |
January 14, 2018, 07:58:59 am by Projectile Vomit |
||
Facing problems starting out...
Started by hereandnow |
5 Replies
4,339 Views |
January 12, 2018, 11:20:48 pm by hereandnow |
||
Cooked tubers - healthy or unhealthy?
Started by a_real_man |
11 Replies
6,787 Views |
December 31, 2017, 05:46:32 am by Xisca |
||
6 Replies
8,711 Views |
December 17, 2017, 03:43:31 am by dair |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll