/* * 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 31 Guests are viewing this board. | ||||
1 Replies
2,281 Views |
September 06, 2013, 07:22:45 am by Dr. D |
|||
1 Replies
1,727 Views |
May 21, 2012, 08:20:45 am by raw-al |
|||
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,135 Views |
March 08, 2011, 03:26:01 am by Löwenherz |
||
1 Replies
2,305 Views |
September 19, 2013, 12:06:37 am by Aura |
|||
1 Replies
2,833 Views |
March 02, 2010, 05:58:34 am by kurite |
|||
1 Replies
1,782 Views |
May 27, 2012, 01:32:21 am by Dorothy |
|||
Using Tanning Beds Safely
Started by Coatue |
1 Replies
2,310 Views |
July 03, 2011, 03:47:54 am by blimpie |
||
Dean Cain Agent of Satan!
Started by TylerDurden |
1 Replies
3,335 Views |
June 10, 2009, 02:36:30 am by William |
||
1 Replies
1,998 Views |
April 01, 2017, 07:02:47 am by goodsamaritan |
|||
1 Replies
2,969 Views |
March 13, 2010, 09:44:32 am by KD |
|||
Vitamix: effect on nutrition
Started by raw-al |
1 Replies
1,901 Views |
December 05, 2016, 06:51:47 pm by dariorpl |
||
MDA view on ZC
Started by a87.pal |
1 Replies
3,817 Views |
December 23, 2010, 02:57:13 am by TylerDurden |
||
Banned foods around the world
Started by TylerDurden |
1 Replies
1,986 Views |
October 12, 2016, 04:00:59 am by TylerDurden |
||
New fad DNA diet
Started by TylerDurden |
1 Replies
1,905 Views |
March 31, 2017, 07:33:29 am by Drengr |
||
1 Replies
1,734 Views |
August 16, 2016, 10:26:12 pm by raw-al |
|||
1 Replies
2,678 Views |
November 30, 2010, 06:30:15 am by yuli |
|||
1 Replies
2,100 Views |
November 26, 2014, 12:11:39 am by van |
|||
How junk food causes depression
Started by TylerDurden |
1 Replies
1,956 Views |
June 04, 2017, 05:21:55 am by surfsteve |
||
Parathyroid issues
Started by TylerDurden |
1 Replies
2,810 Views |
May 14, 2012, 09:47:08 pm by reyyzl |
||
1 Replies
1,843 Views |
August 01, 2016, 07:36:45 pm by dariorpl |
|||
Selenium yeast
Started by RogueFarmer |
1 Replies
2,154 Views |
April 26, 2017, 08:16:36 am by van |
||
Low carb is stupid.
Started by SuperInfinity |
1 Replies
2,922 Views |
August 09, 2009, 11:05:59 am by goodsamaritan |
||
1 Replies
2,857 Views |
October 08, 2010, 03:29:14 pm by TylerDurden |
|||
Cholesterol Down, Vitamin D up in Eggs
Started by Coatue |
1 Replies
2,268 Views |
March 03, 2011, 11:41:46 am by sabertooth |
||
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
2,589 Views |
March 19, 2010, 02:54:08 am by miles |
||
hrt for men
Started by ruffiny89 |
1 Replies
2,032 Views |
May 15, 2012, 04:04:57 am by TylerDurden |
||
1 Replies
1,950 Views |
November 10, 2010, 07:17:04 pm by TylerDurden |
|||
1 Replies
2,086 Views |
December 01, 2012, 09:05:14 am by LePatron7 |
|||
1 Replies
2,243 Views |
August 16, 2015, 05:17:45 am by TylerDurden |
|||
1 Replies
1,710 Views |
October 23, 2011, 11:10:51 am by cherimoya_kid |
|||
Beyond Broccoli
Started by Projectile Vomit |
1 Replies
2,249 Views |
November 26, 2012, 01:30:59 pm by Polyvore |
||
Utopic Water
Started by Coatue |
1 Replies
2,097 Views |
November 05, 2010, 02:04:30 am by SkinnyDevil |
||
1 Replies
1,860 Views |
October 26, 2011, 04:17:16 am by Dorothy |
|||
Ardipithecus
Started by Guittarman03 |
1 Replies
2,293 Views |
October 13, 2009, 07:04:08 am by PaleoPhil |
||
1 Replies
2,158 Views |
October 15, 2012, 03:42:04 pm by TylerDurden |
|||
Antibiotics apocalypse and STDs
Started by TylerDurden |
1 Replies
1,880 Views |
August 31, 2016, 04:44:37 am by raw-al |
||
The Faileo Diet
Started by Projectile Vomit |
1 Replies
1,926 Views |
February 06, 2013, 08:51:54 am by goodsamaritan |
||
More GM modification of tomatoes
Started by TylerDurden |
1 Replies
1,884 Views |
July 26, 2016, 10:16:41 am by dariorpl |
||
Ancient Astronauts, Sumeria, tracking our origins
Started by CitrusHigh |
1 Replies
2,654 Views |
April 28, 2012, 08:03:37 am by Rawr |
||
GMO pigs and Salmon
Started by raw-al |
1 Replies
2,492 Views |
July 31, 2010, 07:39:45 am by sabertooth |
||
vegetarianism in mma
Started by Ioanna |
1 Replies
1,936 Views |
February 19, 2011, 09:49:40 pm by wodgina |
||
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,118 Views |
November 30, 2009, 05:18:28 am by PaleoPhil |
||
re-mineralize distilled water
Started by Coatue |
1 Replies
3,500 Views |
January 25, 2011, 06:30:35 pm by Brother |
||
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,080 Views |
October 21, 2013, 01:40:40 am by svrn |
||
The Making of Humans
Started by Projectile Vomit |
1 Replies
2,265 Views |
July 02, 2014, 03:16:01 pm by goodsamaritan |
||
Revolting cooked-food dishes!
Started by TylerDurden |
1 Replies
1,735 Views |
December 22, 2011, 03:59:06 am by cherimoya_kid |
||
1 Replies
2,166 Views |
September 07, 2016, 05:50:57 am by svrn |
|||
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
1,815 Views |
April 02, 2010, 12:43:15 pm by RawZi |
||
1 Replies
2,070 Views |
April 05, 2010, 11:55:26 am by William |
|||
1 Replies
1,809 Views |
July 26, 2016, 08:17:20 am by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll