/* * 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 21 Guests are viewing this board. | ||||
20 Replies
8,806 Views |
July 26, 2011, 10:56:46 pm by zbr5 |
|||
23 Replies
8,800 Views |
July 24, 2011, 08:04:56 pm by RawZi |
|||
4 Replies
8,798 Views |
March 03, 2020, 08:47:37 pm by RawFoodist |
|||
PUSH-UP CHALLENGE!!!
Started by SkinnyDevil |
23 Replies
8,795 Views |
February 19, 2011, 12:11:17 am by SkinnyDevil |
||
14 Replies
8,791 Views |
January 25, 2013, 03:26:11 am by raw-al |
|||
6 Replies
8,750 Views |
April 09, 2019, 07:54:01 am by TylerDurden |
|||
Dehydrated raw animal fat
Started by TylerDurden |
3 Replies
8,732 Views |
July 13, 2019, 10:02:51 am by thehadezb |
||
7 Replies
8,687 Views |
July 04, 2018, 04:39:16 pm by dair |
|||
25 Replies
8,621 Views |
October 19, 2013, 01:08:57 pm by raw-al |
|||
23 Replies
8,615 Views |
November 14, 2010, 02:43:40 am by djr_81 |
|||
What are you thinking?
Started by TylerDurden |
21 Replies
8,591 Views |
February 07, 2009, 01:32:30 pm by Sarav |
||
22 Replies
8,586 Views |
September 28, 2015, 09:44:12 am by cherimoya_kid |
|||
Testimonial re egg allergy
Started by TylerDurden |
4 Replies
8,545 Views |
April 21, 2019, 06:58:18 pm by TylerDurden |
||
Are rabbit droppings edible/paleo?
Started by Sally |
10 Replies
8,516 Views |
December 04, 2014, 01:07:18 pm by sabertooth |
||
4 Replies
8,483 Views |
May 16, 2019, 12:52:14 am by sabertooth |
|||
17 Replies
8,438 Views |
April 07, 2016, 07:34:28 pm by TylerDurden |
|||
wheres roony
Started by jessica |
22 Replies
8,408 Views |
October 21, 2011, 08:41:25 am by jessica |
||
Is farming the root of all evil?
Started by TylerDurden |
19 Replies
8,399 Views |
August 16, 2009, 09:37:11 am by PaleoPhil |
||
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
8,347 Views |
July 24, 2018, 12:01:40 pm by van |
||
Recommendation
Started by TylerDurden |
0 Replies
8,347 Views |
October 21, 2019, 10:19:15 pm by TylerDurden |
||
Wikileaks horror
Started by TylerDurden « 1 2 » |
26 Replies
8,274 Views |
January 22, 2011, 07:40:11 pm by Brother |
||
13 Replies
8,250 Views |
December 25, 2010, 07:09:55 pm by Iguana |
|||
Psychic Phenomena
Started by TylerDurden |
23 Replies
8,234 Views |
January 28, 2011, 05:58:05 pm by Brother |
||
Supermarket brainwashing
Started by TylerDurden |
3 Replies
8,206 Views |
December 16, 2021, 10:28:37 am by sabertooth |
||
0 Replies
8,185 Views |
November 04, 2019, 05:20:42 pm by Sol^Sa |
|||
21 Replies
8,145 Views |
October 02, 2014, 12:46:51 pm by sabertooth |
|||
10 Replies
8,130 Views |
January 30, 2024, 05:20:12 am by TnMann |
|||
19 Replies
8,050 Views |
June 15, 2014, 09:06:48 pm by TylerDurden |
|||
The Biggest Company You've Never Heard of
Started by raw-al |
13 Replies
8,041 Views |
December 18, 2011, 01:28:32 pm by TylerDurden |
||
1 Replies
8,023 Views |
August 01, 2019, 03:31:40 am by smokeyquartz |
|||
18 Replies
8,022 Views |
August 08, 2011, 11:19:51 am by cherimoya_kid |
|||
5 Replies
7,991 Views |
April 02, 2019, 03:42:08 am by van |
|||
So, I just got a cat...
Started by Wolf |
21 Replies
7,987 Views |
August 22, 2012, 08:39:37 pm by intrigued |
||
US/UK etc farmers being hit
Started by TylerDurden |
2 Replies
7,965 Views |
April 14, 2019, 11:51:58 pm by sabertooth |
||
10 Replies
7,963 Views |
December 26, 2016, 06:22:42 pm by TylerDurden |
|||
Mere RPD musing....
Started by TylerDurden |
2 Replies
7,948 Views |
April 10, 2019, 01:50:17 pm by TylerDurden |
||
Gk Chesterton quotation backed up
Started by TylerDurden |
15 Replies
7,920 Views |
November 01, 2014, 11:03:31 pm by Iguana |
||
Investments
Started by wodgina |
22 Replies
7,915 Views |
February 10, 2009, 06:41:23 am by TylerDurden |
||
Worst Movie I Ever Seen
Started by Sully |
20 Replies
7,901 Views |
December 27, 2010, 11:22:55 am by CHK91 |
||
7 Replies
7,891 Views |
July 29, 2018, 07:33:27 am by Projectile Vomit |
|||
0 Replies
7,890 Views |
October 26, 2019, 06:49:09 pm by TylerDurden |
|||
Vegan meat article
Started by TylerDurden |
0 Replies
7,881 Views |
June 16, 2019, 12:29:42 pm by TylerDurden |
||
BBQ cooks adding PHOSPHATES to meat
Started by Sol^Sa |
0 Replies
7,878 Views |
November 03, 2019, 08:41:45 pm by Sol^Sa |
||
24 Replies
7,859 Views |
January 08, 2014, 08:35:56 pm by nummi |
|||
Amusing article
Started by TylerDurden |
19 Replies
7,845 Views |
June 07, 2015, 02:15:26 am by TylerDurden |
||
Slow Cooker
Started by Wolf |
6 Replies
7,809 Views |
November 06, 2020, 07:50:30 pm by dair |
||
Air pollution getting worse in China
Started by TylerDurden |
16 Replies
7,807 Views |
December 27, 2015, 01:22:35 pm by TylerDurden |
||
Compass
Started by political atheist |
3 Replies
7,804 Views |
July 31, 2021, 02:57:04 pm by political atheist |
||
22 Replies
7,797 Views |
June 18, 2011, 03:16:19 am by klowcarb |
|||
Taxes are theft
Started by laterade |
19 Replies
7,777 Views |
May 08, 2011, 11:37:05 am by wodgina |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll