/* * 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 73 Guests are viewing this board. | ||||
2 Replies
2,233 Views |
October 23, 2014, 03:24:31 pm by TylerDurden |
|||
Even fruit flies prefer meat?
Started by PaleoPhil |
7 Replies
6,631 Views |
August 25, 2009, 10:47:14 am by Raw Kyle |
||
Give it to me Raw is Shutting Down
Started by PaleoPhil |
1 Replies
2,708 Views |
July 13, 2012, 10:34:08 am by Dorothy |
||
Paleo Diet Guinea Pig Project
Started by PaleoPhil |
1 Replies
1,577 Views |
November 24, 2010, 01:24:23 pm by laterade |
||
Iceman Kilimanjaro Expedition
Started by PaleoPhil |
3 Replies
2,746 Views |
December 17, 2013, 10:16:04 am by PaleoPhil |
||
7 Replies
5,576 Views |
March 10, 2011, 12:24:42 am by achillezzz |
|||
0 Replies
1,751 Views |
July 26, 2010, 04:00:32 am by PaleoPhil |
|||
21 Replies
10,132 Views |
August 30, 2009, 02:22:19 am by PaleoPhil |
|||
27 Replies
16,549 Views |
February 01, 2011, 02:11:35 am by raw-al |
|||
3 Replies
2,945 Views |
August 30, 2009, 07:59:20 pm by goodsamaritan |
|||
electromagnetic waves protection
Started by papangue |
4 Replies
2,990 Views |
February 06, 2013, 11:56:36 pm by raw-al |
||
3 Replies
1,939 Views |
April 16, 2014, 06:32:51 pm by TylerDurden |
|||
Test, just a test
Started by PatrickThymn |
0 Replies
6,381 Views |
September 07, 2018, 02:38:16 pm by PatrickThymn |
||
Dreams about health matters
Started by pc701 |
7 Replies
4,035 Views |
November 02, 2010, 02:07:43 pm by yuli |
||
12 Replies
6,436 Views |
February 07, 2011, 07:38:27 pm by PaleoPhil |
|||
Preserved/untouched parts of the UK
Started by phatdave |
2 Replies
2,381 Views |
October 17, 2009, 01:58:35 am by TylerDurden |
||
6 Replies
3,551 Views |
November 03, 2009, 08:34:49 am by wodgina |
|||
trion z wristband
Started by pioneer |
2 Replies
2,072 Views |
August 14, 2010, 12:21:20 am by SkinnyDevil |
||
Compass
Started by political atheist |
3 Replies
7,828 Views |
July 31, 2021, 02:57:04 pm by political atheist |
||
juicer
Started by political atheist |
1 Replies
1,480 Views |
June 09, 2015, 07:31:10 am by eveheart |
||
steamer
Started by political atheist |
2 Replies
1,454 Views |
July 06, 2016, 12:52:05 pm by van |
||
Legaly moving to the USA
Started by political atheist |
12 Replies
4,639 Views |
July 18, 2022, 08:39:01 pm by Rika Mama |
||
7 Replies
7,898 Views |
July 29, 2018, 07:33:27 am by Projectile Vomit |
|||
Who hunts their food?
Started by primavera |
9 Replies
5,505 Views |
August 03, 2009, 06:47:24 am by William |
||
My bachelor party
Started by PrimiFit |
0 Replies
1,364 Views |
February 29, 2012, 02:48:07 pm by PrimiFit |
||
What really causes heart disease
Started by Projectile Vomit |
1 Replies
1,552 Views |
August 02, 2013, 12:09:56 am by Dr. D |
||
Proud of Being Human
Started by Projectile Vomit |
10 Replies
4,565 Views |
March 31, 2014, 01:14:22 am by Iguana |
||
6 Replies
3,178 Views |
April 20, 2016, 12:34:08 am by TylerDurden |
|||
4 Replies
2,109 Views |
August 08, 2013, 02:21:48 pm by bookittyrun |
|||
I can't help but notice...
Started by Projectile Vomit |
10 Replies
4,179 Views |
November 11, 2013, 12:39:36 pm by sabertooth |
||
Caucasians aren't Paleo
Started by Projectile Vomit |
12 Replies
5,534 Views |
February 03, 2014, 04:28:40 am by cherimoya_kid |
||
The Intelligent Plant
Started by Projectile Vomit |
0 Replies
1,368 Views |
January 27, 2014, 07:33:31 am by Projectile Vomit |
||
Becoming the Iceman
Started by Projectile Vomit |
15 Replies
7,547 Views |
November 28, 2012, 03:36:53 pm by whatever |
||
Fitness, Health and Liberty
Started by Projectile Vomit |
5 Replies
2,476 Views |
January 30, 2014, 03:55:18 am by LePatron7 |
||
Raw Paleo Diet Forum Statistics
Started by Projectile Vomit « 1 2 » |
27 Replies
14,498 Views |
June 18, 2018, 04:24:26 am by van |
||
Cold training in 2014
Started by Projectile Vomit |
7 Replies
4,329 Views |
April 19, 2014, 03:13:35 pm by RogueFarmer |
||
3 Replies
1,726 Views |
May 17, 2014, 01:09:40 am by meatbeater |
|||
14 Replies
4,720 Views |
February 11, 2014, 03:31:16 am by raw-al |
|||
Hungry for Change
Started by Projectile Vomit |
0 Replies
1,541 Views |
March 26, 2012, 09:04:09 am by Projectile Vomit |
||
Fat Head
Started by Projectile Vomit |
0 Replies
1,255 Views |
November 28, 2013, 07:54:20 am by Projectile Vomit |
||
War on Health
Started by Projectile Vomit |
5 Replies
2,875 Views |
November 30, 2013, 11:51:56 pm by LePatron7 |
||
0 Replies
1,465 Views |
October 11, 2014, 01:19:32 am by Projectile Vomit |
|||
12 Replies
3,977 Views |
November 05, 2012, 01:56:04 am by Alive |
|||
8 Replies
4,099 Views |
May 12, 2013, 12:13:37 am by svrn |
|||
Plant intelligence
Started by Projectile Vomit |
0 Replies
1,326 Views |
January 05, 2015, 03:04:33 am by Projectile Vomit |
||
The Energy Return of Food
Started by Projectile Vomit |
12 Replies
4,268 Views |
September 13, 2013, 09:35:21 pm by Iguana |
||
Naked and Afraid...
Started by Projectile Vomit |
3 Replies
2,795 Views |
December 19, 2013, 04:49:49 am by Iguana |
||
The Energy Cost of Food
Started by Projectile Vomit |
10 Replies
3,812 Views |
August 07, 2013, 11:11:33 am by bookittyrun |
||
0 Replies
1,401 Views |
December 28, 2013, 04:14:18 am by Projectile Vomit |
|||
protein poisoning in carnivores?
Started by Raw Kyle |
3 Replies
2,999 Views |
May 01, 2009, 07:42:15 am by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll