/* * 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 27 Guests are viewing this board. | ||||
Grapefruit and Drugs
Started by raw-al |
0 Replies
1,987 Views |
February 11, 2013, 11:26:00 pm by raw-al |
||
Interesting detox ideas
Started by majormark |
0 Replies
1,848 Views |
February 04, 2013, 06:43:32 pm by majormark |
||
0 Replies
2,064 Views |
November 12, 2012, 04:54:54 pm by Alive |
|||
Energy / device medicine
Started by raw-al |
0 Replies
1,991 Views |
November 12, 2012, 12:17:57 pm by raw-al |
||
0 Replies
2,749 Views |
November 19, 2012, 07:43:03 pm by Löwenherz |
|||
Hey buddy can you spare 43 trillion?
Started by raw-al |
0 Replies
1,766 Views |
November 05, 2012, 01:07:42 pm by raw-al |
||
OK what's the deal here?
Started by raw-al |
0 Replies
1,873 Views |
August 18, 2012, 08:09:37 am by raw-al |
||
Junk food eating contest
Started by TylerDurden |
0 Replies
1,563 Views |
May 31, 2012, 11:33:23 pm by TylerDurden |
||
organic food vs non organic food
Started by blackrhino |
0 Replies
1,771 Views |
May 28, 2012, 01:31:46 am by blackrhino |
||
Vitamin water, the New Coke
Started by raw-al |
0 Replies
1,618 Views |
May 25, 2012, 05:41:14 pm by raw-al |
||
Food Matters
Started by raw-al |
0 Replies
1,845 Views |
April 29, 2012, 10:27:17 pm by raw-al |
||
Virgin Boy Eggs
Started by raw-al |
0 Replies
1,911 Views |
April 27, 2012, 09:08:40 am by raw-al |
||
0 Replies
2,004 Views |
March 25, 2012, 04:07:29 am by TylerDurden |
|||
IGF-1; Is Raw Dairy Bad for You?
Started by Duke |
0 Replies
2,784 Views |
March 17, 2012, 04:25:14 pm by Duke |
||
Slanker's grass fed pork
Started by Löwenherz |
0 Replies
2,038 Views |
February 10, 2012, 05:53:03 am by Löwenherz |
||
0 Replies
2,179 Views |
March 29, 2012, 05:54:51 am by aginghippie |
|||
Chimp starts fire
Started by TylerDurden |
0 Replies
1,769 Views |
December 31, 2011, 05:25:03 am by TylerDurden |
||
0 Replies
2,098 Views |
December 02, 2011, 08:27:49 am by TylerDurden |
|||
0 Replies
1,814 Views |
November 24, 2011, 04:40:40 am by Paleo Donk |
|||
Article on Life Extension
Started by TylerDurden |
0 Replies
1,704 Views |
October 25, 2011, 06:46:47 pm by TylerDurden |
||
Sushi
Started by TylerDurden |
0 Replies
2,049 Views |
October 21, 2011, 09:59:38 pm by TylerDurden |
||
0 Replies
1,668 Views |
October 21, 2011, 01:53:19 am by Löwenherz |
|||
FDA is at it again, in bed with Big Pharma
Started by raw-al |
0 Replies
1,651 Views |
August 11, 2011, 07:04:12 am by raw-al |
||
The Grossness Awards 2011
Started by blimpie |
0 Replies
1,723 Views |
July 03, 2011, 11:28:46 am by blimpie |
||
0 Replies
1,594 Views |
June 22, 2011, 12:15:36 am by raw-al |
|||
GMO Food Dump
Started by raw-al |
0 Replies
1,921 Views |
April 29, 2011, 10:53:26 pm by raw-al |
||
0 Replies
2,269 Views |
March 23, 2011, 12:23:32 am by goodsamaritan |
|||
0 Replies
1,829 Views |
February 16, 2011, 12:56:42 am by Fermenter Zym |
|||
GMO Companys play dirty
Started by intouchwithinstinct |
0 Replies
1,774 Views |
January 13, 2011, 11:36:57 am by intouchwithinstinct |
||
0 Replies
2,214 Views |
December 31, 2010, 08:24:19 am by kurite |
|||
0 Replies
1,939 Views |
December 29, 2010, 11:26:29 pm by goodsamaritan |
|||
Mutant Worms, Antioxidants and Aging
Started by raw-al |
0 Replies
1,708 Views |
December 29, 2010, 09:26:21 pm by raw-al |
||
Move to improve sushi in the UK
Started by TylerDurden |
0 Replies
1,620 Views |
December 29, 2010, 02:35:46 am by TylerDurden |
||
0 Replies
1,793 Views |
November 14, 2010, 06:33:27 am by raw-al |
|||
Somebody's propaganding again
Started by raw-al |
0 Replies
2,022 Views |
November 08, 2010, 10:42:37 pm by raw-al |
||
0 Replies
2,005 Views |
April 01, 2010, 08:05:29 pm by TylerDurden |
|||
0 Replies
1,851 Views |
February 17, 2010, 06:00:48 am by TylerDurden |
|||
0 Replies
1,786 Views |
February 17, 2010, 05:53:31 am by TylerDurden |
|||
0 Replies
2,135 Views |
February 17, 2010, 05:51:59 am by TylerDurden |
|||
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,085 Views |
February 13, 2010, 05:31:18 am by goodsamaritan |
||
0 Replies
2,557 Views |
January 28, 2010, 11:29:04 pm by roony |
|||
0 Replies
1,976 Views |
January 28, 2010, 09:31:56 pm by goodsamaritan |
|||
0 Replies
2,110 Views |
December 28, 2009, 08:03:27 pm by TylerDurden |
|||
0 Replies
2,357 Views |
August 30, 2009, 07:59:45 pm by goodsamaritan |
|||
farming regulations (FDA wants IN)
Started by dizzybee6 |
0 Replies
2,255 Views |
July 28, 2009, 09:13:23 am by dizzybee6 |
||
Anti-Barry-groves Website
Started by TylerDurden |
0 Replies
4,268 Views |
June 23, 2009, 05:08:40 pm by TylerDurden |
||
Rendered fat from lamb suet
Started by Raw Rob |
0 Replies
3,180 Views |
June 11, 2009, 03:00:16 pm by Raw Rob |
||
Agrinomics: "King Corn"
Started by livingthelife |
0 Replies
2,478 Views |
November 29, 2008, 10:28:48 am by livingthelife |
||
0 Replies
3,391 Views |
November 25, 2008, 01:41:27 am by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll