/* * 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 6 Guests are viewing this board. | ||||
3 Replies
2,842 Views |
January 20, 2010, 01:55:34 am by van |
|||
3 Replies
2,847 Views |
April 18, 2012, 02:54:25 pm by TylerDurden |
|||
0 Replies
2,867 Views |
June 23, 2009, 10:26:59 pm by goodsamaritan |
|||
4 Replies
2,878 Views |
November 11, 2010, 03:36:42 am by the PresiDenT |
|||
2 Replies
2,883 Views |
April 01, 2012, 10:45:04 am by personman |
|||
Cardio-vascular problems
Started by political atheist |
1 Replies
2,893 Views |
August 01, 2018, 03:25:38 am by rami999 |
||
2 Replies
2,900 Views |
September 09, 2014, 05:20:46 pm by nummi |
|||
Reliable Methods to Determine One's Health
Started by zeno |
3 Replies
2,900 Views |
June 28, 2011, 10:02:44 am by eveheart |
||
Ear Ringing.... Tips please?
Started by the PresiDenT |
1 Replies
2,908 Views |
November 20, 2010, 04:08:14 pm by yuli |
||
"Parasites suck toxins from sharks"
Started by chucky |
1 Replies
2,928 Views |
April 21, 2010, 06:39:52 pm by jycemrsh |
||
Clothes Lines Banned in the USA?
Started by goodsamaritan |
3 Replies
2,946 Views |
November 11, 2010, 02:19:04 am by raw-al |
||
2 Replies
2,947 Views |
June 18, 2010, 04:43:02 pm by Hans89 |
|||
Exercise VS Sleep/rest/Healing
Started by joej627 |
4 Replies
2,951 Views |
April 26, 2012, 12:51:57 am by joej627 |
||
2 Replies
2,957 Views |
August 12, 2010, 10:00:38 am by Dwight |
|||
1 Replies
2,960 Views |
December 03, 2014, 01:33:50 am by van |
|||
2 Replies
2,962 Views |
September 02, 2010, 05:23:40 pm by alphagruis |
|||
std's and hepatitis and RPD
Started by LePatron7 |
1 Replies
2,966 Views |
February 28, 2012, 08:38:02 am by raw-al |
||
3 Replies
2,969 Views |
July 24, 2014, 10:10:15 pm by Iguana |
|||
Stomach issues
Started by STZGluten Free |
2 Replies
2,980 Views |
August 17, 2010, 03:46:44 am by STZGluten Free |
||
How to deal with Lyme Disease?
Started by fireflysea |
2 Replies
2,990 Views |
July 01, 2014, 02:47:31 am by Cristaraw |
||
Packaking Of (children's) Foods
Started by marshel |
2 Replies
3,010 Views |
January 04, 2010, 06:43:50 am by redfulcrum |
||
1 Replies
3,018 Views |
August 10, 2016, 05:40:44 am by svrn |
|||
histamine
Started by histadelia girl |
1 Replies
3,024 Views |
November 28, 2015, 01:10:50 pm by cherimoya_kid |
||
2 Replies
3,033 Views |
October 14, 2013, 06:31:38 am by svrn |
|||
2 Replies
3,038 Views |
February 16, 2010, 12:54:21 am by Ronaldo10 |
|||
Shorthorn Dairy Cows
Started by moringa82 |
5 Replies
3,046 Views |
June 29, 2014, 12:32:17 pm by eveheart |
||
Abdominal rash
Started by A_Tribe_Called_Paleo |
2 Replies
3,046 Views |
December 21, 2014, 04:43:01 am by A_Tribe_Called_Paleo |
||
Scar tissue
Started by Coatue |
2 Replies
3,052 Views |
October 10, 2010, 05:47:31 pm by Alomonger Pete |
||
Digestive problems, could it be Iodine?
Started by Raw777 |
2 Replies
3,056 Views |
November 17, 2015, 11:25:27 pm by Raw777 |
||
Health problem, epstein barr
Started by Buddha |
10 Replies
3,070 Views |
December 21, 2021, 05:38:51 pm by Buddha |
||
Starting Paleo - Questions :-)
Started by greymice |
2 Replies
3,080 Views |
January 18, 2012, 04:41:56 am by cherimoya_kid |
||
MOVED: Cooked meat and health
Started by TylerDurden |
0 Replies
3,086 Views |
March 06, 2009, 10:55:54 pm by TylerDurden |
||
3 Replies
3,089 Views |
May 05, 2011, 01:27:35 am by Josh |
|||
Does raw fat taste bad after 2-3 days?
Started by leadahead |
2 Replies
3,099 Views |
September 16, 2010, 01:07:32 pm by Dwight |
||
2 Replies
3,104 Views |
February 14, 2011, 11:27:00 am by laterade |
|||
Cured chocolate addiction with meat
Started by dair |
4 Replies
3,108 Views |
November 08, 2017, 01:56:28 am by a_real_man |
||
4 Replies
3,112 Views |
June 22, 2017, 12:48:36 am by surfsteve |
|||
Great Article on Healing a Persons Eyesight
Started by roony |
1 Replies
3,118 Views |
February 16, 2010, 12:52:48 am by Ronaldo10 |
||
1 Replies
3,173 Views |
August 06, 2009, 11:15:08 pm by William |
|||
Allergy!!!
Started by neupane14 |
1 Replies
3,197 Views |
July 10, 2010, 10:21:08 am by Ioanna |
||
1 Replies
3,201 Views |
October 18, 2010, 03:49:09 am by majormark |
|||
Toe Stretchers
Started by seopenkey |
3 Replies
3,228 Views |
August 06, 2010, 04:41:56 am by raw-al |
||
Dehydration?
Started by Aura |
3 Replies
3,235 Views |
July 03, 2013, 03:20:07 am by Aura |
||
probiotic supplement raw reserve
Started by DonJon |
3 Replies
3,239 Views |
October 01, 2014, 09:02:51 pm by DonJon |
||
Do you snort?
Started by majormark |
3 Replies
3,252 Views |
March 07, 2010, 11:30:47 am by kurite |
||
3 Replies
3,253 Views |
May 27, 2017, 02:00:54 am by surfsteve |
|||
Tooth Deformity
Started by PaleoPhil |
4 Replies
3,272 Views |
November 15, 2010, 02:08:43 am by PaleoPhil |
||
Painful "Acne" Bumps?
Started by CatTreats |
4 Replies
3,274 Views |
April 12, 2014, 04:41:10 am by ys |
||
4 Replies
3,275 Views |
August 20, 2018, 02:07:43 pm by sabertooth |
|||
1 Replies
3,277 Views |
July 20, 2010, 01:09:02 pm by kurite |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll