/* * 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 4 Guests are viewing this board. | ||||
Insects - what to look for when buying
Started by a_real_man |
20 Replies
8,654 Views |
January 26, 2018, 06:02:50 am by a_real_man |
||
21 Replies
18,773 Views |
March 21, 2012, 07:19:42 pm by HIT_it_RAW |
|||
Low histamine
Started by Robinlove |
21 Replies
7,577 Views |
June 24, 2017, 12:45:37 pm by sabertooth |
||
Starting out with budget...
Started by riy freeman |
21 Replies
11,850 Views |
December 08, 2010, 11:18:40 pm by bharminder |
||
22 Replies
20,555 Views |
October 21, 2010, 05:46:33 am by the PresiDenT |
|||
How do YOU eat your sardines and eggs?
Started by fireflysea |
22 Replies
10,273 Views |
June 08, 2014, 11:25:47 pm by CatTreats |
||
22 Replies
26,458 Views |
December 09, 2014, 10:12:10 am by PaleoPhil |
|||
22 Replies
16,635 Views |
June 18, 2011, 07:27:15 am by PaleoPhil |
|||
Raw ketchup?
Started by LePatron7 |
23 Replies
11,506 Views |
May 05, 2013, 12:13:42 am by LePatron7 |
||
Sensitivity?
Started by Poncho |
23 Replies
9,328 Views |
January 16, 2013, 04:41:06 am by cherimoya_kid |
||
How much meat and how much fruit?
Started by Haai |
23 Replies
22,718 Views |
October 16, 2010, 11:05:38 pm by Hannibal |
||
24 Replies
23,845 Views |
June 24, 2016, 03:35:28 pm by goodsamaritan |
|||
25 Replies
32,765 Views |
September 21, 2010, 03:54:25 am by Michael |
|||
27 Replies
14,376 Views |
April 28, 2014, 11:10:33 am by goodsamaritan |
|||
28 Replies
14,268 Views |
March 11, 2009, 04:21:07 pm by Dan |
|||
28 Replies
15,923 Views |
January 06, 2011, 10:52:00 pm by turkish |
|||
29 Replies
16,886 Views |
March 28, 2013, 05:29:41 am by Suiren |
|||
30 Replies
15,753 Views |
February 24, 2014, 09:01:28 am by eveheart |
|||
31 Replies
19,624 Views |
September 02, 2008, 08:28:55 am by xylothrill |
|||
31 Replies
22,075 Views |
September 18, 2009, 03:10:25 am by Python |
|||
32 Replies
18,529 Views |
May 12, 2012, 09:35:51 am by Alive |
|||
33 Replies
18,797 Views |
December 10, 2010, 08:30:03 am by PaleoPhil |
|||
Anyone get to taste Elephant Meat?
Started by goodsamaritan « 1 2 » |
33 Replies
19,893 Views |
March 19, 2015, 11:41:02 pm by sabertooth |
||
33 Replies
16,702 Views |
January 08, 2013, 07:25:00 am by Suiren |
|||
Raw Yam?
Started by technosmith « 1 2 » |
36 Replies
29,259 Views |
November 05, 2011, 06:33:14 am by Dorothy |
||
38 Replies
19,621 Views |
June 18, 2010, 04:48:55 pm by Hannibal |
|||
40 Replies
18,733 Views |
January 12, 2014, 11:43:04 am by cherimoya_kid |
|||
Macadamia nuts
Started by Taste Sense « 1 2 » |
40 Replies
47,759 Views |
October 17, 2010, 02:40:26 am by KD |
||
Your experiences eating Aloe Vera Gel? Aloe Vera juice?
Started by goodsamaritan « 1 2 » |
41 Replies
40,105 Views |
May 14, 2015, 08:56:39 pm by dariorpl |
||
43 Replies
16,887 Views |
January 25, 2012, 05:03:31 am by Dorothy |
|||
45 Replies
23,583 Views |
March 15, 2010, 05:20:07 am by MrBBQ |
|||
Experiment
Started by SkinnyDevil « 1 2 » |
46 Replies
22,694 Views |
October 10, 2009, 02:59:27 am by SkinnyDevil |
||
46 Replies
20,354 Views |
May 06, 2012, 07:30:35 am by CS |
|||
46 Replies
40,773 Views |
November 07, 2010, 12:29:16 pm by the PresiDenT |
|||
Your experience with DATES?
Started by goodsamaritan « 1 2 » |
48 Replies
31,206 Views |
January 19, 2013, 10:05:34 pm by Wolf |
||
51 Replies
43,075 Views |
May 06, 2013, 08:01:31 pm by claire87john |
|||
Why am I always so tired after eating fruit?
Started by ForTheHunt « 1 2 3 » |
54 Replies
62,604 Views |
August 27, 2010, 05:09:51 am by Sully |
||
56 Replies
47,426 Views |
October 15, 2010, 05:29:04 am by MrBBQ |
|||
Nuts VS Meats
Started by DameonWolf « 1 2 3 » |
61 Replies
34,780 Views |
July 13, 2011, 11:36:01 pm by cherimoya_kid |
||
63 Replies
30,500 Views |
August 07, 2011, 06:17:31 am by PaleoPhil |
|||
67 Replies
23,746 Views |
March 29, 2013, 11:13:27 pm by svrn |
|||
Teeth Profiles how carnivorous a person is meant to be?
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
29,632 Views |
February 25, 2010, 10:49:33 am by PaleoPhil |
||
84 Replies
38,412 Views |
March 19, 2013, 08:58:14 am by Suiren |
|||
Talk about Durian
Started by goodsamaritan « 1 2 3 4 » |
91 Replies
58,518 Views |
July 09, 2012, 01:08:57 pm by DopeDivinity |
||
101 Replies
59,347 Views |
July 15, 2009, 09:05:20 am by goodsamaritan |
|||
114 Replies
62,004 Views |
October 29, 2012, 07:11:18 am by PaleoPhil |
|||
125 Replies
65,906 Views |
December 12, 2011, 06:41:56 am by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll