/* * 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 54 Guests are viewing this board. | ||||
40 Replies
17,342 Views |
March 07, 2013, 11:03:50 am by svrn |
|||
Care for some human cheese?
Started by actionhero « 1 2 » |
40 Replies
16,681 Views |
February 28, 2011, 05:57:50 am by kurite |
||
World class athlets
Started by achillezzz « 1 2 » |
40 Replies
17,333 Views |
January 14, 2011, 11:40:53 pm by raw-al |
||
40 Replies
20,049 Views |
January 02, 2011, 11:13:07 pm by Caveman |
|||
40 Replies
19,972 Views |
October 22, 2012, 08:02:16 am by PaleoPhil |
|||
Eating frequency
Started by The Barbarian « 1 2 » |
41 Replies
18,520 Views |
August 29, 2009, 09:28:05 am by PaleoPhil |
||
41 Replies
18,325 Views |
February 02, 2013, 06:22:21 am by PaleoPhil |
|||
41 Replies
18,338 Views |
August 19, 2012, 11:43:59 am by cherimoya_kid |
|||
42 Replies
17,653 Views |
October 15, 2012, 09:30:02 pm by LePatron7 |
|||
42 Replies
14,932 Views |
August 08, 2019, 09:37:56 pm by surfsteve |
|||
42 Replies
19,565 Views |
June 30, 2011, 11:18:02 am by PaleoPhil |
|||
42 Replies
18,718 Views |
December 16, 2009, 05:20:29 pm by TylerDurden |
|||
43 Replies
25,522 Views |
June 17, 2012, 04:41:53 am by Alive |
|||
45 Replies
19,618 Views |
November 11, 2011, 12:15:11 pm by Dorothy |
|||
45 Replies
20,867 Views |
January 26, 2010, 12:12:48 am by TylerDurden |
|||
45 Replies
19,334 Views |
March 12, 2012, 05:16:09 am by PaleoPhil |
|||
Post workout carbs and tooth decay
Started by achillezzz « 1 2 » |
46 Replies
19,473 Views |
February 02, 2012, 11:45:21 am by Dorothy |
||
Cooking and Evolution
Started by Fermenter Zym « 1 2 » |
46 Replies
18,001 Views |
March 09, 2011, 10:55:00 pm by TylerDurden |
||
46 Replies
17,210 Views |
December 07, 2010, 02:29:41 am by raw-al |
|||
47 Replies
16,348 Views |
October 24, 2013, 07:25:19 am by PaleoPhil |
|||
47 Replies
15,533 Views |
October 19, 2010, 08:45:15 pm by raw-al |
|||
47 Replies
23,977 Views |
July 09, 2010, 01:46:59 pm by King Salmon |
|||
48 Replies
25,180 Views |
May 03, 2012, 01:19:54 pm by svrn |
|||
48 Replies
18,356 Views |
July 28, 2010, 08:21:07 am by PaleoPhil |
|||
Is there anything wrong with wine?
Started by achillezzz « 1 2 » |
49 Replies
24,849 Views |
May 06, 2011, 09:26:28 am by laterade |
||
49 Replies
27,617 Views |
February 11, 2011, 01:54:23 am by TylerDurden |
|||
49 Replies
18,167 Views |
October 27, 2009, 05:06:53 am by DeadRamones |
|||
Taste of raw meat
Started by CarnivorousApe « 1 2 3 » |
50 Replies
25,563 Views |
August 08, 2014, 04:35:08 am by FRANCIS HOWARD BOND |
||
50 Replies
16,742 Views |
May 15, 2020, 05:30:58 pm by dair |
|||
51 Replies
23,458 Views |
March 03, 2012, 12:15:18 pm by cherimoya_kid |
|||
52 Replies
21,626 Views |
January 26, 2010, 11:46:06 pm by roony |
|||
What cooked, non-palaeo foods are you eating?
Started by TylerDurden « 1 2 3 » |
52 Replies
18,632 Views |
June 03, 2012, 08:53:15 am by goodsamaritan |
||
52 Replies
24,487 Views |
March 19, 2011, 09:14:32 pm by Brother |
|||
Do you live forever on a rpd?
Started by Paleo Donk « 1 2 3 » |
53 Replies
23,935 Views |
October 06, 2010, 06:41:03 am by RawZi |
||
53 Replies
26,498 Views |
October 18, 2015, 11:51:27 pm by A_Tribe_Called_Paleo |
|||
53 Replies
22,706 Views |
September 12, 2010, 06:40:27 am by raw-al |
|||
56 Replies
24,652 Views |
April 13, 2015, 05:45:18 am by FRANCIS HOWARD BOND |
|||
56 Replies
21,299 Views |
June 18, 2012, 01:50:11 am by Dorothy |
|||
56 Replies
22,523 Views |
May 05, 2011, 02:29:37 am by Löwenherz |
|||
57 Replies
32,641 Views |
March 21, 2010, 05:27:03 pm by William |
|||
Blood - The most overlooked nutrient?
Started by Paleo Donk « 1 2 3 » |
57 Replies
21,852 Views |
April 03, 2011, 08:28:58 pm by sabertooth |
||
After sex?
Started by DeadRamones « 1 2 3 » |
58 Replies
25,575 Views |
October 01, 2010, 02:04:27 am by raw-al |
||
59 Replies
19,264 Views |
May 13, 2012, 11:11:16 am by CitrusHigh |
|||
62 Replies
22,904 Views |
November 10, 2011, 02:42:15 am by RawZi |
|||
A lil' update.
Started by ForTheHunt « 1 2 3 » |
64 Replies
24,092 Views |
December 16, 2010, 07:43:20 pm by majormark |
||
Raw Vegan Annette Larkins at 70 looks like 30.
Started by goodsamaritan « 1 2 3 » |
64 Replies
41,257 Views |
October 11, 2013, 01:39:49 pm by svrn |
||
66 Replies
19,671 Views |
January 12, 2013, 07:14:41 am by PaleoPhil |
|||
68 Replies
25,909 Views |
July 26, 2012, 07:35:20 am by PaleoPhil |
|||
The dodgy Weston Price
Started by TylerDurden « 1 2 3 » |
68 Replies
35,842 Views |
February 17, 2010, 04:54:01 am by TylerDurden |
||
69 Replies
29,582 Views |
March 30, 2010, 11:58:12 am by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll