/* * 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 24 Guests are viewing this board. | ||||
69 Replies
29,579 Views |
May 12, 2012, 12:00:08 pm by Alive |
|||
69 Replies
29,506 Views |
March 30, 2010, 11:58:12 am by PaleoPhil |
|||
The dodgy Weston Price
Started by TylerDurden « 1 2 3 » |
68 Replies
35,779 Views |
February 17, 2010, 04:54:01 am by TylerDurden |
||
68 Replies
25,851 Views |
July 26, 2012, 07:35:20 am by PaleoPhil |
|||
66 Replies
19,613 Views |
January 12, 2013, 07:14:41 am by PaleoPhil |
|||
Raw Vegan Annette Larkins at 70 looks like 30.
Started by goodsamaritan « 1 2 3 » |
64 Replies
41,093 Views |
October 11, 2013, 01:39:49 pm by svrn |
||
A lil' update.
Started by ForTheHunt « 1 2 3 » |
64 Replies
23,830 Views |
December 16, 2010, 07:43:20 pm by majormark |
||
62 Replies
22,833 Views |
November 10, 2011, 02:42:15 am by RawZi |
|||
59 Replies
19,075 Views |
May 13, 2012, 11:11:16 am by CitrusHigh |
|||
After sex?
Started by DeadRamones « 1 2 3 » |
58 Replies
25,474 Views |
October 01, 2010, 02:04:27 am by raw-al |
||
57 Replies
32,551 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,781 Views |
April 03, 2011, 08:28:58 pm by sabertooth |
||
56 Replies
22,419 Views |
May 05, 2011, 02:29:37 am by Löwenherz |
|||
56 Replies
21,233 Views |
June 18, 2012, 01:50:11 am by Dorothy |
|||
56 Replies
24,594 Views |
April 13, 2015, 05:45:18 am by FRANCIS HOWARD BOND |
|||
53 Replies
22,539 Views |
September 12, 2010, 06:40:27 am by raw-al |
|||
53 Replies
26,377 Views |
October 18, 2015, 11:51:27 pm by A_Tribe_Called_Paleo |
|||
Do you live forever on a rpd?
Started by Paleo Donk « 1 2 3 » |
53 Replies
23,830 Views |
October 06, 2010, 06:41:03 am by RawZi |
||
52 Replies
24,445 Views |
March 19, 2011, 09:14:32 pm by Brother |
|||
What cooked, non-palaeo foods are you eating?
Started by TylerDurden « 1 2 3 » |
52 Replies
18,578 Views |
June 03, 2012, 08:53:15 am by goodsamaritan |
||
52 Replies
21,597 Views |
January 26, 2010, 11:46:06 pm by roony |
|||
51 Replies
23,429 Views |
March 03, 2012, 12:15:18 pm by cherimoya_kid |
|||
Taste of raw meat
Started by CarnivorousApe « 1 2 3 » |
50 Replies
25,490 Views |
August 08, 2014, 04:35:08 am by FRANCIS HOWARD BOND |
||
50 Replies
16,661 Views |
May 15, 2020, 05:30:58 pm by dair |
|||
Is there anything wrong with wine?
Started by achillezzz « 1 2 » |
49 Replies
24,802 Views |
May 06, 2011, 09:26:28 am by laterade |
||
49 Replies
27,581 Views |
February 11, 2011, 01:54:23 am by TylerDurden |
|||
49 Replies
18,076 Views |
October 27, 2009, 05:06:53 am by DeadRamones |
|||
48 Replies
18,252 Views |
July 28, 2010, 08:21:07 am by PaleoPhil |
|||
48 Replies
25,081 Views |
May 03, 2012, 01:19:54 pm by svrn |
|||
47 Replies
15,471 Views |
October 19, 2010, 08:45:15 pm by raw-al |
|||
47 Replies
23,891 Views |
July 09, 2010, 01:46:59 pm by King Salmon |
|||
47 Replies
16,259 Views |
October 24, 2013, 07:25:19 am by PaleoPhil |
|||
Post workout carbs and tooth decay
Started by achillezzz « 1 2 » |
46 Replies
19,327 Views |
February 02, 2012, 11:45:21 am by Dorothy |
||
Cooking and Evolution
Started by Fermenter Zym « 1 2 » |
46 Replies
17,959 Views |
March 09, 2011, 10:55:00 pm by TylerDurden |
||
46 Replies
17,173 Views |
December 07, 2010, 02:29:41 am by raw-al |
|||
45 Replies
19,573 Views |
November 11, 2011, 12:15:11 pm by Dorothy |
|||
45 Replies
20,816 Views |
January 26, 2010, 12:12:48 am by TylerDurden |
|||
45 Replies
19,301 Views |
March 12, 2012, 05:16:09 am by PaleoPhil |
|||
43 Replies
25,431 Views |
June 17, 2012, 04:41:53 am by Alive |
|||
42 Replies
19,542 Views |
June 30, 2011, 11:18:02 am by PaleoPhil |
|||
42 Replies
18,681 Views |
December 16, 2009, 05:20:29 pm by TylerDurden |
|||
42 Replies
14,884 Views |
August 08, 2019, 09:37:56 pm by surfsteve |
|||
42 Replies
17,601 Views |
October 15, 2012, 09:30:02 pm by LePatron7 |
|||
Eating frequency
Started by The Barbarian « 1 2 » |
41 Replies
18,465 Views |
August 29, 2009, 09:28:05 am by PaleoPhil |
||
41 Replies
18,289 Views |
February 02, 2013, 06:22:21 am by PaleoPhil |
|||
41 Replies
18,303 Views |
August 19, 2012, 11:43:59 am by cherimoya_kid |
|||
40 Replies
19,935 Views |
October 22, 2012, 08:02:16 am by PaleoPhil |
|||
40 Replies
17,284 Views |
March 07, 2013, 11:03:50 am by svrn |
|||
Care for some human cheese?
Started by actionhero « 1 2 » |
40 Replies
16,632 Views |
February 28, 2011, 05:57:50 am by kurite |
||
40 Replies
19,953 Views |
January 02, 2011, 11:13:07 pm by Caveman |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll