/* * 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 8 Guests are viewing this board. | ||||
7 Replies
5,519 Views |
October 16, 2010, 11:58:58 pm by pioneer |
|||
Watch the Movie King Corn
Started by goodsamaritan |
7 Replies
5,930 Views |
February 17, 2013, 01:46:04 am by Cavecloth.com |
||
Raw paleo video help
Started by Adora |
7 Replies
5,221 Views |
February 27, 2012, 11:30:39 am by Adora |
||
Raw Paleo Community!!
Started by GaiaYoga Gardens |
6 Replies
4,488 Views |
August 22, 2014, 10:38:47 am by GaiaYoga Gardens |
||
6 Replies
4,389 Views |
October 28, 2012, 03:56:29 pm by Iguana |
|||
ANCESTRAL HEALTH SYMPOSIUM
Started by PaleoPhil |
6 Replies
3,971 Views |
March 10, 2010, 08:38:02 am by PaleoPhil |
||
6 Replies
4,522 Views |
October 15, 2012, 05:53:19 pm by AlphaCog |
|||
Alarming new study on tap water
Started by Nation |
6 Replies
4,425 Views |
January 13, 2011, 10:00:33 am by CHK91 |
||
6 Replies
5,010 Views |
October 04, 2010, 11:16:19 pm by sabertooth |
|||
6 Replies
5,062 Views |
May 12, 2011, 08:31:02 pm by Josh |
|||
Non mainstream healing to be made illegal
Started by svrn |
6 Replies
4,082 Views |
May 23, 2013, 01:34:03 pm by svrn |
||
"The Diet of The Mountain Men"
Started by jessica |
6 Replies
4,385 Views |
March 05, 2013, 06:23:36 am by svrn |
||
6 Replies
4,104 Views |
April 19, 2014, 08:55:13 am by sabertooth |
|||
RAW Meat Eaters In China
Started by TylerDurden |
6 Replies
4,647 Views |
January 29, 2010, 02:24:55 pm by raw |
||
6 Replies
4,643 Views |
June 18, 2011, 08:25:15 pm by Josh |
|||
6 Replies
5,141 Views |
June 14, 2010, 12:03:17 am by Josh |
|||
'Ardi' Shakes Up Evolution Theory
Started by instant |
6 Replies
3,618 Views |
October 03, 2009, 04:30:47 am by alphagruis |
||
6 Replies
5,762 Views |
April 13, 2011, 09:14:43 pm by TylerDurden |
|||
All California almonds pasteurized, by law
Started by livingthelife |
6 Replies
8,413 Views |
December 01, 2008, 04:52:38 pm by Flymaster |
||
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
6,141 Views |
February 16, 2011, 04:32:02 pm by MaximilianKohler |
||
The Primal Parent
Started by CitrusHigh |
6 Replies
4,468 Views |
April 04, 2013, 03:12:49 am by svrn |
||
5 Replies
5,344 Views |
June 03, 2010, 10:39:03 pm by PrimalLadyRosy |
|||
5 Replies
4,299 Views |
July 20, 2012, 01:59:55 am by jessica |
|||
5 Replies
4,601 Views |
November 09, 2013, 02:00:50 am by goodsamaritan |
|||
This woman can't store fat, 0% body fat
Started by Nation |
5 Replies
8,154 Views |
June 30, 2010, 12:05:57 pm by Sully |
||
Trouble with a post
Started by raw-al |
5 Replies
3,438 Views |
April 10, 2011, 04:54:07 am by raw-al |
||
5 Replies
3,646 Views |
June 30, 2012, 03:30:54 am by gc |
|||
5 Replies
9,153 Views |
August 18, 2015, 10:43:33 am by eveheart |
|||
Not getting reply notifications
Started by raw-al |
5 Replies
2,978 Views |
July 17, 2011, 01:21:45 am by raw-al |
||
5 Replies
4,035 Views |
November 01, 2010, 12:58:37 pm by bharminder |
|||
Question re links
Started by raw-al |
5 Replies
4,038 Views |
April 14, 2011, 03:20:17 am by Iguana |
||
5 Replies
4,226 Views |
June 14, 2011, 07:30:32 pm by PaleoPhil |
|||
5 Replies
4,295 Views |
July 10, 2009, 05:15:21 am by Josh |
|||
ReWild Yourself! Magazine
Started by Projectile Vomit |
5 Replies
4,009 Views |
July 27, 2014, 02:28:29 pm by TylerDurden |
||
5 Replies
8,708 Views |
November 17, 2015, 03:00:21 am by raw |
|||
5 Replies
3,369 Views |
February 22, 2013, 09:28:10 pm by cherimoya_kid |
|||
Industrial hemp
Started by sabertooth |
5 Replies
4,452 Views |
February 08, 2015, 11:44:26 pm by jessica |
||
5 Replies
3,559 Views |
December 03, 2010, 10:14:20 am by sabertooth |
|||
5 Replies
4,607 Views |
December 04, 2010, 11:22:01 am by subfarm |
|||
5 Replies
7,147 Views |
December 11, 2009, 07:41:16 am by jessica |
|||
aged beef
Started by coconinoz |
5 Replies
5,524 Views |
December 15, 2008, 01:34:21 pm by coconinoz |
||
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
4,528 Views |
December 20, 2010, 09:22:31 am by laterade |
||
5 Replies
4,260 Views |
June 03, 2015, 11:54:25 pm by Taz |
|||
First Nations People Return to Their Native Diet (Video)
Started by Craig |
4 Replies
4,510 Views |
August 15, 2008, 08:44:45 am by xylothrill |
||
Bacteria 'R' Us
Started by majormark |
4 Replies
3,417 Views |
October 22, 2010, 05:50:06 am by miles |
||
4 Replies
2,593 Views |
January 13, 2012, 04:45:39 pm by goodsamaritan |
|||
4 Replies
4,934 Views |
March 11, 2015, 07:11:58 pm by TylerDurden |
|||
4 Replies
4,335 Views |
October 25, 2010, 12:16:02 pm by kurite |
|||
Hybrid Origins of the Human Races
Started by goodsamaritan |
4 Replies
6,251 Views |
May 19, 2016, 09:51:59 am by goodsamaritan |
||
Check out this Paleo Diet Inforgraphic
Started by dwelz |
4 Replies
3,026 Views |
August 05, 2014, 01:41:02 pm by Iguana |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll