/* * 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 29 Guests are viewing this board. | ||||
David vs Goliath (Monsanto)
Started by raw-al |
2 Replies
1,994 Views |
November 05, 2012, 02:19:44 am by raw-al |
||
Human Planet - Jungles - BCC
Started by Aura |
5 Replies
3,343 Views |
November 05, 2012, 01:49:06 am by Löwenherz |
||
Freedom for children at school
Started by Alive |
6 Replies
4,991 Views |
October 29, 2012, 07:27:30 pm by Alive |
||
40 Replies
19,961 Views |
October 22, 2012, 08:02:16 am by PaleoPhil |
|||
7 Replies
4,110 Views |
October 21, 2012, 09:52:18 am by Alive |
|||
Overdiagnosis and Overtreatment Rampant
Started by Alive |
12 Replies
5,283 Views |
October 17, 2012, 03:34:19 pm by Alive |
||
Funniest Movies
Started by Alive |
10 Replies
4,996 Views |
October 17, 2012, 03:11:38 pm by Alive |
||
42 Replies
17,624 Views |
October 15, 2012, 09:30:02 pm by LePatron7 |
|||
1 Replies
2,155 Views |
October 15, 2012, 03:42:04 pm by TylerDurden |
|||
32 Replies
21,447 Views |
October 11, 2012, 09:13:17 am by svrn |
|||
mineral absorption through ash
Started by svrn |
8 Replies
3,883 Views |
October 11, 2012, 05:24:18 am by jessica |
||
cooked food history
Started by svrn |
7 Replies
4,235 Views |
October 09, 2012, 12:42:44 am by Iguana |
||
natural tobacco
Started by svrn |
11 Replies
6,608 Views |
October 06, 2012, 06:59:17 am by PaleoPhil |
||
Possible rawpalaeo horror?
Started by TylerDurden |
9 Replies
4,101 Views |
September 22, 2012, 01:25:38 am by goodsamaritan |
||
3 Replies
2,092 Views |
September 21, 2012, 07:29:43 pm by CitrusHigh |
|||
6 Replies
3,999 Views |
September 21, 2012, 10:58:21 am by Polyvore |
|||
Dangers of Vitamin D
Started by Alive |
24 Replies
11,369 Views |
September 13, 2012, 01:56:11 pm by Alive |
||
Raw honey - is it just marketing?
Started by aLptHW4k4y « 1 2 » |
32 Replies
16,245 Views |
September 10, 2012, 11:56:31 am by Dorothy |
||
5 Replies
3,352 Views |
September 08, 2012, 03:25:05 am by TylerDurden |
|||
72 Replies
27,178 Views |
August 29, 2012, 10:37:17 am by Alive |
|||
The Disappearing Male
Started by raw-al |
7 Replies
4,291 Views |
August 21, 2012, 12:53:11 am by goodsamaritan |
||
3 Replies
2,534 Views |
August 19, 2012, 08:46:48 pm by raw-al |
|||
41 Replies
18,326 Views |
August 19, 2012, 11:43:59 am by cherimoya_kid |
|||
OK what's the deal here?
Started by raw-al |
0 Replies
1,875 Views |
August 18, 2012, 08:09:37 am by raw-al |
||
Dig out your swim trunks
Started by raw-al |
1 Replies
1,795 Views |
August 16, 2012, 07:24:52 am by raw-al |
||
Alien Implants Tested
Started by raw-al |
6 Replies
3,850 Views |
August 14, 2012, 09:26:55 pm by raw-al |
||
8 Replies
8,442 Views |
August 14, 2012, 09:27:36 am by Gordono |
|||
15 Replies
7,133 Views |
August 07, 2012, 01:31:34 am by cherimoya_kid |
|||
Steak Cake haha
Started by Fermenter Zym |
12 Replies
10,013 Views |
August 02, 2012, 09:02:28 am by Chris |
||
Who's Monsanto's Best Friend in Congress?
Started by raw-al |
2 Replies
2,084 Views |
July 31, 2012, 01:14:15 am by raw-al |
||
Controversial anti-Aajonus claim
Started by TylerDurden « 1 2 3 4 » |
91 Replies
30,104 Views |
July 30, 2012, 08:32:58 am by svrn |
||
12 Replies
5,847 Views |
July 27, 2012, 11:14:04 am by cherimoya_kid |
|||
JAMES HOLMES is schizophrenic?
Started by raw |
23 Replies
10,833 Views |
July 27, 2012, 10:49:02 am by sabertooth |
||
68 Replies
25,884 Views |
July 26, 2012, 07:35:20 am by PaleoPhil |
|||
12 Replies
7,447 Views |
July 25, 2012, 11:22:57 pm by LePatron7 |
|||
Hard Apple Cider
Started by Chris |
2 Replies
2,448 Views |
July 25, 2012, 12:37:03 pm by Chris |
||
Dried Herbs! Friend or Foe?
Started by Chris |
24 Replies
11,065 Views |
July 23, 2012, 12:25:34 pm by Dorothy |
||
Are raw diet for everyone?
Started by Chopstick33 |
24 Replies
9,398 Views |
July 23, 2012, 12:12:47 pm by Dorothy |
||
Is Chia Oil the best Omega 3 source?
Started by Duke |
8 Replies
4,287 Views |
July 23, 2012, 11:36:20 am by Chris |
||
new updates
Started by svrn |
1 Replies
1,960 Views |
July 20, 2012, 03:22:03 am by svrn |
||
14 Replies
11,668 Views |
July 19, 2012, 08:51:37 pm by TylerDurden |
|||
14 Replies
9,692 Views |
July 19, 2012, 07:43:52 am by Dorothy |
|||
coffee,sugar,diet sugar
Started by blackrhino « 1 2 » |
34 Replies
15,775 Views |
July 19, 2012, 03:28:29 am by Dorothy |
||
5 Replies
4,504 Views |
July 17, 2012, 01:03:20 am by Adora |
|||
29 Replies
12,354 Views |
July 09, 2012, 08:39:41 am by Dorothy |
|||
17 Replies
9,031 Views |
July 04, 2012, 03:43:45 am by gc |
|||
82 Replies
38,987 Views |
July 02, 2012, 07:20:35 pm by Inger |
|||
Avocado Diet
Started by Fermenter Zym |
3 Replies
3,063 Views |
July 01, 2012, 09:52:17 am by cherimoya_kid |
||
7 Replies
3,704 Views |
June 30, 2012, 07:43:42 am by Dorothy |
|||
The power of raw animal food!
Started by TylerDurden |
3 Replies
2,237 Views |
June 29, 2012, 08:00:35 am by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll