/* * 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 60 Guests are viewing this board. | ||||
7 Replies
5,195 Views |
September 07, 2008, 09:22:46 pm by TylerDurden |
|||
14 Replies
5,204 Views |
October 06, 2013, 07:32:04 am by sabertooth |
|||
Coconut fat and Alzheimer's disease
Started by Löwenherz |
8 Replies
5,208 Views |
November 30, 2011, 12:02:46 am by Dorothy |
||
RAW PUPPIES
Started by crystalline |
9 Replies
5,212 Views |
March 11, 2009, 07:05:15 pm by TylerDurden |
||
9 Replies
5,215 Views |
May 12, 2009, 01:15:37 am by rafonly |
|||
12 Replies
5,225 Views |
April 11, 2015, 07:51:56 am by dariorpl |
|||
Best non-dietary gurus
Started by TylerDurden |
12 Replies
5,270 Views |
July 18, 2011, 09:19:16 pm by raw-al |
||
Coming Clean
Started by stevesurv |
10 Replies
5,270 Views |
September 24, 2008, 07:42:46 am by Raw Kyle |
||
Longevity in Ikaria
Started by TylerDurden |
0 Replies
5,276 Views |
October 10, 2018, 06:38:54 pm by TylerDurden |
||
Book - Into the Wild
Started by Ioanna |
10 Replies
5,279 Views |
August 01, 2011, 05:35:18 pm by The King of Currumpaw |
||
0 Replies
5,289 Views |
January 23, 2021, 10:36:00 pm by dair |
|||
12 Replies
5,292 Views |
March 26, 2010, 12:26:18 pm by RawZi |
|||
Urban Caveman Article
Started by extralizard13 |
8 Replies
5,295 Views |
January 19, 2010, 05:23:16 am by extralizard13 |
||
Landmark anti-GM case
Started by TylerDurden |
10 Replies
5,319 Views |
February 14, 2014, 01:09:45 am by raw-al |
||
Wind farms
Started by raw-al |
14 Replies
5,337 Views |
April 10, 2017, 12:22:39 pm by raw-al |
||
Living expenses
Started by Ioanna |
12 Replies
5,340 Views |
October 13, 2015, 09:51:35 am by TylerDurden |
||
1 Replies
5,350 Views |
November 08, 2010, 11:36:36 am by KD |
|||
Makeup can harm IQ
Started by TylerDurden |
21 Replies
5,356 Views |
December 11, 2012, 06:25:53 am by TylerDurden |
||
Meat Is Medicine For Desertification
Started by Brother |
10 Replies
5,358 Views |
May 19, 2011, 01:05:12 pm by tdister |
||
Rawpalaeo substitutes
Started by TylerDurden |
12 Replies
5,361 Views |
April 06, 2011, 06:56:55 pm by Iguana |
||
23 Replies
5,368 Views |
December 06, 2017, 06:03:56 pm by TylerDurden |
|||
dairy withdrawal and mucus
Started by shannon |
2 Replies
5,372 Views |
August 31, 2010, 02:32:56 am by shannon |
||
10 Replies
5,378 Views |
April 20, 2014, 09:17:34 pm by JeuneKoq |
|||
Worrying trend
Started by TylerDurden |
14 Replies
5,383 Views |
January 30, 2013, 04:32:12 am by Wolf |
||
Sunlight phenomenon
Started by TylerDurden |
11 Replies
5,397 Views |
August 24, 2011, 10:42:22 pm by raw-al |
||
Lex's latest project
Started by lex_rooker |
8 Replies
5,420 Views |
September 01, 2008, 10:49:12 pm by Raw Kyle |
||
0 Replies
5,432 Views |
October 09, 2018, 11:48:13 pm by TylerDurden |
|||
9 Replies
5,443 Views |
June 22, 2011, 08:53:58 am by goodsamaritan |
|||
I sliced into my own finger
Started by sabertooth |
14 Replies
5,447 Views |
June 26, 2011, 08:56:49 am by wodgina |
||
Tell me 25 things about yourself
Started by TylerDurden |
11 Replies
5,452 Views |
September 24, 2008, 12:04:47 am by Sully |
||
Don't buy raw tuna
Started by TylerDurden |
11 Replies
5,458 Views |
July 05, 2009, 12:37:27 am by Josh |
||
Foreskin Regeneration Petition
Started by TylerVo |
5 Replies
5,458 Views |
March 30, 2013, 03:26:33 am by TylerVo |
||
4 Replies
5,486 Views |
March 06, 2021, 10:09:42 am by goodsamaritan |
|||
Who hunts their food?
Started by primavera |
9 Replies
5,503 Views |
August 03, 2009, 06:47:24 am by William |
||
Phthalates how can I avoid them?
Started by wodgina |
13 Replies
5,530 Views |
October 07, 2010, 03:43:51 am by infinitenexus |
||
Caucasians aren't Paleo
Started by Projectile Vomit |
12 Replies
5,530 Views |
February 03, 2014, 04:28:40 am by cherimoya_kid |
||
Healthy food in space?
Started by TylerDurden |
9 Replies
5,537 Views |
January 15, 2010, 05:36:08 pm by TylerDurden |
||
19 Replies
5,546 Views |
April 25, 2018, 03:40:48 am by ys |
|||
10 Replies
5,562 Views |
June 17, 2011, 10:12:00 pm by raw-al |
|||
10 Replies
5,566 Views |
October 07, 2014, 07:25:45 pm by Johan August |
|||
7 Replies
5,569 Views |
March 10, 2011, 12:24:42 am by achillezzz |
|||
Study shows smoking lowers your IQ
Started by TylerDurden |
10 Replies
5,592 Views |
April 26, 2010, 04:27:53 pm by TylerDurden |
||
Other (Non-Diet-Related) Paths
Started by TylerDurden |
9 Replies
5,598 Views |
July 17, 2008, 03:54:50 am by TylerDurden |
||
Hemp Oil Anyone?
Started by goodsamaritan |
13 Replies
5,599 Views |
June 06, 2012, 04:48:33 am by Alive |
||
Article on anti-aging methods
Started by TylerDurden |
12 Replies
5,613 Views |
April 12, 2016, 12:32:04 pm by sabertooth |
||
Lovely photo of RAFers
Started by TylerDurden |
12 Replies
5,622 Views |
November 30, 2009, 08:40:53 am by PaleoPhil |
||
Star Wars Fans!!!
Started by goodsamaritan |
10 Replies
5,655 Views |
December 30, 2008, 01:31:01 am by avalon |
||
16 Replies
5,702 Views |
February 03, 2014, 01:51:08 am by PaleoPhil |
|||
Where's everybody living?
Started by Ioanna |
14 Replies
5,706 Views |
June 03, 2009, 09:59:12 am by MaverickHunter40245 |
||
"Game wars"
Started by dair |
2 Replies
5,713 Views |
January 17, 2021, 01:47:06 am by TnMann |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll