/* * 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 | ||
---|---|---|---|---|
Andreasfvc and 20 Guests are viewing this board. | ||||
0 Replies
6,231 Views |
October 08, 2018, 12:08:58 am by TylerDurden |
|||
Metal Utensils
Started by Wolf |
8 Replies
6,238 Views |
July 24, 2011, 11:45:31 am by RawZi |
||
More vegan authoritarianism...
Started by TylerDurden |
0 Replies
6,254 Views |
July 21, 2018, 12:45:07 pm by TylerDurden |
||
High fat diet effect on cognition
Started by TylerDurden |
11 Replies
6,274 Views |
September 11, 2009, 03:14:24 am by Raw Kyle |
||
Mini-Ice-Age coming in 2030s
Started by TylerDurden |
19 Replies
6,283 Views |
March 28, 2017, 04:46:57 am by RogueFarmer |
||
0 Replies
6,285 Views |
October 08, 2018, 12:10:54 am by TylerDurden |
|||
Cancer drug advertising
Started by raw-al |
12 Replies
6,291 Views |
October 22, 2013, 04:33:47 am by raw-al |
||
Barefoot kids' health benefits
Started by TylerDurden |
0 Replies
6,310 Views |
August 03, 2018, 04:09:28 pm by TylerDurden |
||
Palaeolithic-era beer?
Started by TylerDurden |
0 Replies
6,311 Views |
September 14, 2018, 06:49:59 pm by TylerDurden |
||
microplastics...
Started by dair |
0 Replies
6,318 Views |
July 12, 2018, 08:41:03 pm by dair |
||
NOC Services Tools
Started by nickythomas |
0 Replies
6,322 Views |
February 18, 2020, 08:57:11 pm by nickythomas |
||
Celebrity junk food experiment
Started by TylerDurden |
0 Replies
6,345 Views |
February 27, 2019, 08:50:04 pm by TylerDurden |
||
0 Replies
6,362 Views |
October 05, 2018, 10:28:07 pm by TylerDurden |
|||
Test, just a test
Started by PatrickThymn |
0 Replies
6,378 Views |
September 07, 2018, 02:38:16 pm by PatrickThymn |
||
Anti-vegan argument
Started by TylerDurden |
0 Replies
6,382 Views |
September 15, 2018, 12:29:51 am by TylerDurden |
||
UK Food Waste
Started by TylerDurden |
0 Replies
6,384 Views |
August 20, 2018, 02:47:24 pm by TylerDurden |
||
ccnp routing
Started by samiekafe |
0 Replies
6,402 Views |
February 17, 2020, 09:03:30 pm by samiekafe |
||
16 Replies
6,410 Views |
August 13, 2011, 05:20:25 am by Dorothy |
|||
0 Replies
6,420 Views |
September 04, 2018, 02:03:35 am by TylerDurden |
|||
12 Replies
6,424 Views |
February 07, 2011, 07:38:27 pm by PaleoPhil |
|||
handling stress
Started by Ioanna |
16 Replies
6,454 Views |
July 31, 2009, 09:26:22 am by PaleoPhil |
||
Raw seal meat consumption article
Started by TylerDurden |
0 Replies
6,457 Views |
August 22, 2018, 09:25:08 pm by TylerDurden |
||
Admirable man creates his own forest
Started by TylerDurden |
0 Replies
6,469 Views |
August 08, 2018, 02:38:20 pm by TylerDurden |
||
Raw palaeo toughness
Started by TylerDurden |
12 Replies
6,469 Views |
January 02, 2010, 10:02:28 am by PaleoPhil |
||
More raw meat "activism"
Started by TylerDurden |
1 Replies
6,472 Views |
October 06, 2018, 06:38:32 am by PaganGoy |
||
Health spa question
Started by TylerDurden |
0 Replies
6,474 Views |
August 22, 2018, 04:21:52 pm by TylerDurden |
||
Article on rewilding
Started by TylerDurden |
0 Replies
6,477 Views |
December 11, 2019, 12:30:27 pm by TylerDurden |
||
0 Replies
6,479 Views |
August 20, 2018, 04:41:58 am by TylerDurden |
|||
Dam removal
Started by dair |
0 Replies
6,480 Views |
July 16, 2018, 07:28:28 pm by dair |
||
10 Replies
6,485 Views |
April 28, 2017, 02:29:37 am by JeuneKoq |
|||
The Smelly Barbarian podcast
Started by PaganGoy |
0 Replies
6,507 Views |
September 19, 2018, 02:45:37 am by PaganGoy |
||
13 Replies
6,510 Views |
September 04, 2014, 04:43:08 pm by nummi |
|||
A rawpalaeo(ish) Christmas!
Started by TylerDurden |
17 Replies
6,516 Views |
December 27, 2010, 05:03:59 am by raw-al |
||
0 Replies
6,516 Views |
March 05, 2019, 02:42:56 am by TylerDurden |
|||
0 Replies
6,521 Views |
December 20, 2019, 09:43:28 am by TylerDurden |
|||
Favourite Quotations
Started by TylerDurden |
14 Replies
6,535 Views |
February 07, 2009, 01:42:27 pm by Sarav |
||
17 Replies
6,550 Views |
February 02, 2014, 02:12:42 pm by Barefoot Instincto |
|||
Picture of uncontacted tribe
Started by majormark |
18 Replies
6,560 Views |
November 16, 2011, 06:59:32 am by raw-al |
||
Best school tantric in Manhattan
Started by clubSpeerNe |
0 Replies
6,562 Views |
September 03, 2018, 06:18:58 pm by clubSpeerNe |
||
What made you happy today?
Started by TylerDurden |
16 Replies
6,575 Views |
November 14, 2008, 09:11:50 pm by boxcarguy07 |
||
0 Replies
6,590 Views |
March 05, 2019, 03:35:54 am by TylerDurden |
|||
0 Replies
6,605 Views |
September 01, 2018, 03:24:37 am by Bogdandqr |
|||
UK Animal Rights
Started by TylerDurden |
1 Replies
6,615 Views |
March 03, 2019, 04:03:49 am by dariorpl |
||
Even fruit flies prefer meat?
Started by PaleoPhil |
7 Replies
6,625 Views |
August 25, 2009, 10:47:14 am by Raw Kyle |
||
Internet ruining human lives article
Started by TylerDurden |
0 Replies
6,632 Views |
November 22, 2019, 06:19:04 pm by TylerDurden |
||
0 Replies
6,632 Views |
August 20, 2018, 04:44:36 am by TylerDurden |
|||
17 Replies
6,645 Views |
September 30, 2011, 06:08:39 am by TylerDurden |
|||
Inspirational Music
Started by smokeyquartz |
1 Replies
6,675 Views |
May 09, 2020, 10:47:56 am by sabertooth |
||
Curing evil by evil
Started by Bookworm |
0 Replies
6,699 Views |
April 14, 2020, 06:38:35 am by Bookworm |
||
Query for RPDers
Started by TylerDurden |
17 Replies
6,709 Views |
April 08, 2010, 10:42:54 am by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll