/* * 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 23 Guests are viewing this board. | ||||
horse jizz
Started by svrn |
5 Replies
5,246 Views |
February 21, 2012, 02:13:24 pm by giveroftime |
||
The Future of Food
Started by TylerDurden |
2 Replies
2,062 Views |
February 21, 2012, 04:26:53 am by Löwenherz |
||
The Undeserving Ill
Started by TylerDurden |
3 Replies
2,634 Views |
February 20, 2012, 09:01:49 pm by zbr5 |
||
31 Replies
13,230 Views |
February 20, 2012, 12:59:21 pm by svrn |
|||
Food poisoning
Started by huntingbears |
4 Replies
2,439 Views |
February 14, 2012, 09:18:57 pm by huntingbears |
||
Remove wisdom teeth?
Started by LePatron7 |
4 Replies
3,142 Views |
February 13, 2012, 06:09:34 am by gc |
||
Raw Eggs causing baldness a myth??
Started by Raw in Florida |
7 Replies
8,518 Views |
February 12, 2012, 10:17:43 am by raw-al |
||
Slanker's grass fed pork
Started by Löwenherz |
0 Replies
2,038 Views |
February 10, 2012, 05:53:03 am by Löwenherz |
||
Water Memories!!
Started by Duke |
8 Replies
3,869 Views |
February 10, 2012, 03:00:36 am by raw-al |
||
the best option at buffet places?
Started by Joy2012 |
14 Replies
6,159 Views |
February 08, 2012, 01:52:07 pm by Joy2012 |
||
8 Replies
5,803 Views |
February 06, 2012, 10:14:10 am by svrn |
|||
4 Replies
5,111 Views |
February 03, 2012, 11:45:52 pm by goodsamaritan |
|||
Post workout carbs and tooth decay
Started by achillezzz « 1 2 » |
46 Replies
19,326 Views |
February 02, 2012, 11:45:21 am by Dorothy |
||
73 Replies
26,324 Views |
January 26, 2012, 08:52:35 pm by letsdoiteczema |
|||
essiac tea
Started by svrn |
11 Replies
6,632 Views |
January 20, 2012, 11:25:11 pm by goodsamaritan |
||
79 Replies
28,476 Views |
January 17, 2012, 10:16:48 am by PaleoPhil |
|||
My first liver
Started by Aliayzar |
11 Replies
5,184 Views |
January 15, 2012, 09:24:34 am by Aliayzar |
||
31 Replies
10,419 Views |
January 14, 2012, 06:25:36 am by Dorothy |
|||
1 Replies
6,370 Views |
January 11, 2012, 02:54:08 am by ys |
|||
80 Replies
40,399 Views |
January 05, 2012, 11:46:51 am by PaleoPhil |
|||
4 Replies
2,908 Views |
January 05, 2012, 08:25:33 am by Aaaaaa |
|||
Foods That Do the Weight Loss For You
Started by jared767 |
5 Replies
2,861 Views |
January 03, 2012, 10:54:12 pm by goodsamaritan |
||
Chimp starts fire
Started by TylerDurden |
0 Replies
1,769 Views |
December 31, 2011, 05:25:03 am by TylerDurden |
||
12 Replies
7,103 Views |
December 31, 2011, 12:46:18 am by RawZi |
|||
Is stopping menstruation good or bad?
Started by majormark |
13 Replies
6,923 Views |
December 30, 2011, 06:18:05 am by RawZi |
||
Men Don't Want To Be on A Diet
Started by jared767 |
11 Replies
5,024 Views |
December 30, 2011, 02:44:12 am by KD |
||
Cinnamon
Started by achillezzz |
3 Replies
2,930 Views |
December 28, 2011, 11:51:33 pm by jared767 |
||
9 Replies
6,925 Views |
December 28, 2011, 03:45:30 pm by RawZi |
|||
The Holy Grail of Health
Started by technosmith « 1 2 » |
34 Replies
22,371 Views |
December 28, 2011, 08:44:12 am by Dorothy |
||
2 Replies
3,516 Views |
December 23, 2011, 09:27:12 am by PaleoPhil |
|||
31 Replies
12,012 Views |
December 22, 2011, 02:53:56 pm by svrn |
|||
Revolting cooked-food dishes!
Started by TylerDurden |
1 Replies
1,730 Views |
December 22, 2011, 03:59:06 am by cherimoya_kid |
||
37 Replies
15,780 Views |
December 17, 2011, 10:28:01 am by van |
|||
4 Replies
3,286 Views |
December 17, 2011, 04:49:08 am by Muhammad.Sunshine |
|||
16 Replies
11,611 Views |
December 14, 2011, 03:07:41 am by raw-al |
|||
epinephrine and red meat
Started by thumas |
3 Replies
2,501 Views |
December 11, 2011, 12:00:51 am by Dorothy |
||
Raw Vegan propaganda
Started by TylerDurden |
2 Replies
2,880 Views |
December 02, 2011, 10:37:59 am by TylerDurden |
||
0 Replies
2,098 Views |
December 02, 2011, 08:27:49 am by TylerDurden |
|||
15 Replies
8,263 Views |
November 30, 2011, 08:27:01 am by PaleoPhil |
|||
what happend to neolithic eden
Started by sabertooth |
18 Replies
8,357 Views |
November 30, 2011, 04:37:44 am by Löwenherz |
||
17 Replies
6,646 Views |
November 29, 2011, 04:56:41 am by TylerDurden |
|||
Chronic Wasting Disease in Deer
Started by CitrusHigh |
4 Replies
5,503 Views |
November 27, 2011, 11:09:35 am by zeno |
||
12 Replies
6,288 Views |
November 26, 2011, 12:30:40 pm by cherimoya_kid |
|||
Are cooked vegetables all that bad?
Started by goodsamaritan « 1 2 3 4 » |
88 Replies
41,484 Views |
November 26, 2011, 12:20:20 pm by cherimoya_kid |
||
0 Replies
1,814 Views |
November 24, 2011, 04:40:40 am by Paleo Donk |
|||
22 Replies
9,867 Views |
November 23, 2011, 12:46:45 am by Hanna |
|||
Bad publicity or ...?
Started by majormark |
3 Replies
2,663 Views |
November 20, 2011, 08:23:18 am by goodsamaritan |
||
1 Replies
2,445 Views |
November 14, 2011, 06:27:35 pm by HIT_it_RAW |
|||
75 Replies
26,072 Views |
November 11, 2011, 12:18:01 pm by Dorothy |
|||
45 Replies
19,572 Views |
November 11, 2011, 12:15:11 pm by Dorothy |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll