/* * 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 25 Guests are viewing this board. | ||||
6 Replies
3,350 Views |
April 20, 2012, 09:11:59 am by Wattlebird |
|||
More proof that alcohol is palaeo
Started by TylerDurden |
6 Replies
3,226 Views |
March 07, 2015, 02:01:22 am by Iguana |
||
Man brought up by wolves
Started by TylerDurden |
6 Replies
2,498 Views |
April 10, 2018, 06:34:57 am by PaganGoy |
||
6 Replies
3,548 Views |
November 03, 2009, 08:34:49 am by wodgina |
|||
Health Care US
Started by SkinnyDevil |
6 Replies
3,756 Views |
November 12, 2009, 12:05:47 am by SkinnyDevil |
||
Name That Tune
Started by SkinnyDevil |
6 Replies
3,658 Views |
November 21, 2009, 06:14:42 pm by TylerDurden |
||
Half of all species extinct by 2100
Started by TylerDurden |
6 Replies
2,651 Views |
February 28, 2017, 08:52:08 am by TylerDurden |
||
Arizona "Fat" tax
Started by raw-al |
6 Replies
2,871 Views |
May 31, 2011, 07:13:55 am by lex_rooker |
||
6 Replies
2,687 Views |
September 24, 2012, 10:20:26 pm by cherimoya_kid |
|||
Odds that Big Bang Theory is wrong?
Started by Paleo Donk |
6 Replies
3,334 Views |
May 03, 2010, 06:39:19 am by Raw Kyle |
||
6 Replies
3,176 Views |
April 20, 2016, 12:34:08 am by TylerDurden |
|||
6 Replies
4,924 Views |
August 24, 2009, 05:16:59 am by razmatazz |
|||
clinical kinesiology
Started by Ioanna |
6 Replies
3,654 Views |
July 24, 2009, 07:12:58 am by wodgina |
||
6 Replies
2,505 Views |
August 06, 2014, 11:40:57 pm by eveheart |
|||
Taking supplements on a raw diet
Started by LePatron7 |
6 Replies
2,739 Views |
January 09, 2013, 01:48:40 am by ys |
||
6 Replies
6,062 Views |
June 15, 2011, 06:45:26 am by PaleoPhil |
|||
6 Replies
3,862 Views |
September 09, 2009, 11:17:19 am by Raw Kyle |
|||
6 Replies
3,599 Views |
August 01, 2012, 03:01:16 am by CitrusHigh |
|||
6 Replies
3,650 Views |
December 31, 2010, 05:00:26 am by miles |
|||
Heart disease
Started by wodgina |
6 Replies
2,836 Views |
September 07, 2011, 02:08:20 pm by crobiruiz |
||
I just started an AMA on Reddit.
Started by Dr. D |
6 Replies
4,639 Views |
November 01, 2013, 08:32:55 am by Dr. D |
||
What's happening?
Started by Josh |
6 Replies
3,516 Views |
January 17, 2010, 06:45:03 am by Josh |
||
6 Replies
3,738 Views |
September 26, 2012, 03:38:27 pm by Iguana |
|||
How long have you been raw paleo?
Started by kurite |
6 Replies
2,365 Views |
October 18, 2010, 05:25:37 pm by Hannibal |
||
Urine therapy nonsense
Started by TylerDurden |
6 Replies
4,162 Views |
July 13, 2014, 11:50:59 am by mhikl |
||
Polish incident
Started by TylerDurden |
6 Replies
2,999 Views |
April 23, 2010, 08:27:44 pm by yon yonson |
||
Autodidacticism
Started by FlyingDutchwoman |
6 Replies
2,698 Views |
February 05, 2013, 05:31:34 am by HIT_it_RAW |
||
Raw paleo ogres
Started by sabertooth |
6 Replies
3,905 Views |
August 23, 2011, 11:38:05 pm by papangue |
||
6 Replies
4,070 Views |
September 28, 2016, 08:16:27 pm by TylerDurden |
|||
6 Replies
4,314 Views |
November 19, 2014, 12:11:24 am by jessica |
|||
Yet another foolish superfood!
Started by TylerDurden |
6 Replies
2,557 Views |
November 12, 2014, 08:07:26 am by sabertooth |
||
Moringa Oleifera: The Miracle Tree
Started by raw-al |
6 Replies
4,445 Views |
August 23, 2013, 06:24:14 am by raw-al |
||
reality check
Started by svrn |
6 Replies
2,260 Views |
December 31, 2012, 08:25:54 am by svrn |
||
6 Replies
2,621 Views |
June 11, 2014, 12:16:16 am by TylerDurden |
|||
Who's smarter Men or Women ?
Started by raw-al |
6 Replies
3,242 Views |
June 09, 2011, 05:50:40 pm by HIT_it_RAW |
||
Very dodgy new scientific claim
Started by TylerDurden |
6 Replies
2,682 Views |
September 22, 2012, 11:04:56 am by jessica |
||
6 Replies
3,565 Views |
November 05, 2013, 11:16:17 pm by goodsamaritan |
|||
Cynics discriminated against in life
Started by TylerDurden |
6 Replies
3,217 Views |
May 31, 2015, 08:46:40 pm by goodsamaritan |
||
The Work Crowd
Started by Ioanna |
6 Replies
3,328 Views |
January 19, 2010, 09:18:48 pm by jessica |
||
Real Life Tarzan
Started by TylerDurden |
6 Replies
2,699 Views |
September 15, 2015, 08:21:05 am by goodsamaritan |
||
Who is who among the testimonials?
Started by me |
6 Replies
2,929 Views |
February 12, 2010, 09:57:23 am by cherimoya_kid |
||
Impressive if true
Started by TylerDurden |
6 Replies
3,109 Views |
July 20, 2014, 01:49:59 am by Brad462 |
||
Alexander Technique, anybody tried it?
Started by raw-al |
6 Replies
3,160 Views |
March 20, 2011, 06:14:43 am by raw-al |
||
Safe tattoo ink
Started by svrn |
6 Replies
5,748 Views |
June 25, 2012, 08:03:37 pm by wodgina |
||
Youtube wealth video
Started by TylerDurden |
6 Replies
3,793 Views |
October 30, 2008, 06:45:53 am by goodsamaritan |
||
Rawpaleodiet adventure!
Started by TylerDurden |
6 Replies
3,993 Views |
February 14, 2014, 04:31:15 am by Iguana |
||
Are we getting more stupid?
Started by TylerDurden |
6 Replies
2,505 Views |
November 14, 2012, 12:34:43 pm by cherimoya_kid |
||
conscientious vs orthorexic
Started by Ioanna |
6 Replies
3,592 Views |
May 20, 2013, 08:24:25 pm by svrn |
||
dog food brain storming
Started by Ioanna |
6 Replies
3,434 Views |
June 03, 2013, 03:49:47 am by jessica |
||
Happy Birthday, TylerDurden!!!!!!!!!!!!!
Started by xylothrill |
6 Replies
3,416 Views |
September 12, 2008, 10:48:28 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll