/* * 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 51 Guests are viewing this board. | ||||
A question on salt
Started by kurite |
18 Replies
9,413 Views |
July 23, 2010, 12:18:36 am by Wolf |
||
A Raw Low Fat Diet is Man's Natural State?
Started by Coatue |
5 Replies
3,610 Views |
November 20, 2010, 03:14:55 pm by miles |
||
A raw paleo week in the Florida Keys
Started by sabertooth |
12 Replies
5,312 Views |
March 01, 2017, 12:52:47 pm by RogueFarmer |
||
28 Replies
12,235 Views |
February 22, 2012, 05:28:37 am by Joy2012 |
|||
1 Replies
3,496 Views |
February 13, 2011, 11:00:11 am by goodsamaritan |
|||
A.L.F. Where to find them and how to get them?
Started by intouchwithinstinct « 1 2 » |
31 Replies
19,767 Views |
April 24, 2013, 08:30:06 pm by bravo8 |
||
Aajonus and his cancer
Started by thumas |
7 Replies
4,288 Views |
March 24, 2012, 10:50:52 am by raw |
||
Aajonus Radio Interview
Started by davidg |
4 Replies
3,864 Views |
September 21, 2008, 05:50:09 pm by TylerDurden |
||
0 Replies
1,309 Views |
April 01, 2014, 02:25:35 pm by TylerDurden |
|||
0 Replies
2,119 Views |
August 09, 2009, 04:33:54 pm by east147 |
|||
73 Replies
36,798 Views |
June 22, 2017, 04:54:16 am by surfsteve |
|||
76 Replies
45,335 Views |
January 23, 2010, 07:03:27 am by RawZi |
|||
39 Replies
19,780 Views |
September 18, 2010, 06:00:04 am by PaleoPhil |
|||
9 Replies
4,947 Views |
September 24, 2012, 10:17:08 pm by cherimoya_kid |
|||
29 Replies
13,332 Views |
January 17, 2012, 08:59:09 am by sabertooth |
|||
About to DO IT, just a few queries!
Started by jameweights |
11 Replies
5,077 Views |
May 16, 2014, 11:31:37 am by sabertooth |
||
abroad in spain for 3 months need help!
Started by tear11 |
8 Replies
5,457 Views |
July 25, 2009, 01:07:28 pm by RawZi |
||
3 Replies
2,176 Views |
September 09, 2013, 03:43:07 pm by svrn |
|||
5 Replies
2,896 Views |
April 02, 2018, 05:11:40 am by Fenrir |
|||
9 Replies
6,386 Views |
February 02, 2009, 03:06:27 am by Nicola |
|||
acid/alkaline?
Started by joej627 |
24 Replies
14,455 Views |
May 24, 2012, 03:15:22 am by Alive |
||
Acidic saliva after eating carbs
Started by MoonStalkeR |
0 Replies
1,883 Views |
September 13, 2010, 10:59:43 am by MoonStalkeR |
||
8 Replies
5,413 Views |
March 15, 2012, 07:55:32 am by personman |
|||
Acne and Paleo Diet
Started by Donnyten |
14 Replies
11,617 Views |
August 22, 2015, 07:15:44 am by PaleoPhil |
||
15 Replies
7,012 Views |
July 10, 2010, 05:17:19 am by Iguana |
|||
4 Replies
3,091 Views |
March 21, 2010, 08:39:42 am by intouchwithinstinct |
|||
4 Replies
2,141 Views |
February 20, 2014, 09:36:11 pm by Projectile Vomit |
|||
ADD
Started by jamiekelly |
15 Replies
7,236 Views |
June 04, 2013, 07:02:18 am by Dr. D |
||
add/hd
Started by blackrhino |
4 Replies
2,535 Views |
May 03, 2012, 07:35:54 am by blackrhino |
||
28 Replies
13,123 Views |
December 30, 2013, 11:26:34 am by cherimoya_kid |
|||
2 Replies
2,546 Views |
April 22, 2010, 07:49:48 pm by miles |
|||
7 Replies
3,610 Views |
February 11, 2013, 11:40:05 am by CitrusHigh |
|||
Adolf Loos's Diet
Started by Sully |
0 Replies
2,513 Views |
January 09, 2009, 02:54:10 am by Sully |
||
Adrenal Fatigue
Started by kurite |
3 Replies
3,597 Views |
November 15, 2010, 01:41:30 am by PaleoPhil |
||
Adrenal Glands
Started by miles |
8 Replies
10,609 Views |
January 03, 2012, 10:58:39 pm by Fermenter Zym |
||
Adrenals and raw fish?
Started by joej627 |
19 Replies
10,077 Views |
November 12, 2012, 08:25:26 pm by joej627 |
||
Adrenals, Carbs, and Candida
Started by Fermenter Zym |
9 Replies
6,199 Views |
May 10, 2012, 08:07:01 pm by joej627 |
||
37 Replies
14,670 Views |
September 13, 2013, 10:53:47 am by Bacchal |
|||
2 Replies
1,894 Views |
July 31, 2016, 11:59:21 am by goodsamaritan |
|||
Advice regarding Horse Meat wanted
Started by goodsamaritan |
21 Replies
11,706 Views |
February 27, 2010, 02:47:17 am by RawZi |
||
Aerobic vs. Anaerobic bacteria
Started by LePatron7 |
7 Replies
7,527 Views |
May 15, 2013, 08:00:46 pm by LePatron7 |
||
Affordable organic plant foods
Started by LePatron7 |
4 Replies
2,712 Views |
June 01, 2013, 01:01:46 am by svrn |
||
26 Replies
15,726 Views |
October 12, 2010, 10:49:58 pm by AlexWulf |
|||
African Spear Hunting Youtube Videos
Started by Sully |
2 Replies
4,477 Views |
October 22, 2008, 11:04:29 pm by Sully |
||
12 Replies
8,135 Views |
June 10, 2011, 08:06:00 pm by RawZi |
|||
70 Replies
18,660 Views |
July 24, 2018, 07:27:58 pm by norawnofun |
|||
aged goose egg.
Started by sabertooth |
7 Replies
3,615 Views |
July 21, 2012, 02:38:52 am by jessica |
||
Aged/High Meat
Started by Ioanna |
7 Replies
4,618 Views |
January 20, 2010, 10:46:30 pm by raw |
||
23 Replies
12,986 Views |
April 03, 2010, 09:56:22 pm by ys |
|||
agri-economics and nutritional adequacy
Started by personman |
4 Replies
2,916 Views |
August 12, 2011, 06:00:51 am by personman |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll