/* * 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 72 Guests are viewing this board. | ||||
Inflammation key to aging
Started by TylerDurden |
0 Replies
1,151 Views |
April 13, 2017, 07:46:10 am by TylerDurden |
||
2 Replies
1,604 Views |
April 12, 2017, 07:00:23 pm by TylerDurden |
|||
Feel the cold.......
Started by TylerDurden |
1 Replies
1,396 Views |
April 12, 2017, 05:53:26 am by JeuneKoq |
||
1 Replies
1,371 Views |
April 11, 2017, 09:35:30 pm by sabertooth |
|||
0 Replies
1,095 Views |
April 10, 2017, 09:39:47 pm by TylerDurden |
|||
Wind farms
Started by raw-al |
14 Replies
5,339 Views |
April 10, 2017, 12:22:39 pm by raw-al |
||
0 Replies
1,061 Views |
April 08, 2017, 03:27:37 pm by TylerDurden |
|||
Pro-Green initiatives a disaster
Started by TylerDurden |
0 Replies
1,028 Views |
April 08, 2017, 03:18:02 pm by TylerDurden |
||
0 Replies
1,013 Views |
April 07, 2017, 03:53:05 am by TylerDurden |
|||
1 Replies
1,307 Views |
April 05, 2017, 07:35:17 pm by TylerDurden |
|||
UK diesel betrayal by the Greens
Started by TylerDurden |
0 Replies
1,088 Views |
April 05, 2017, 07:26:33 pm by TylerDurden |
||
The world's last isolated humans
Started by TylerDurden |
3 Replies
1,912 Views |
April 05, 2017, 09:15:31 am by goodsamaritan |
||
0 Replies
1,058 Views |
April 03, 2017, 08:17:13 pm by TylerDurden |
|||
0 Replies
1,039 Views |
April 03, 2017, 01:57:18 am by TylerDurden |
|||
Oh Joy!
Started by TylerDurden |
0 Replies
1,033 Views |
April 02, 2017, 01:58:24 am by TylerDurden |
||
1 Replies
1,250 Views |
April 01, 2017, 04:34:33 am by Iguana |
|||
Cost of global pollution
Started by TylerDurden |
1 Replies
1,240 Views |
March 31, 2017, 03:31:01 pm by TylerDurden |
||
1 Replies
1,257 Views |
March 30, 2017, 07:31:15 pm by dariorpl |
|||
1 Replies
1,309 Views |
March 29, 2017, 11:24:59 pm by goodsamaritan |
|||
0 Replies
1,037 Views |
March 29, 2017, 05:45:21 pm by TylerDurden |
|||
0 Replies
1,070 Views |
March 28, 2017, 01:47:46 pm by TylerDurden |
|||
1 Replies
1,239 Views |
March 28, 2017, 11:17:27 am by sabertooth |
|||
Mini-Ice-Age coming in 2030s
Started by TylerDurden |
19 Replies
6,297 Views |
March 28, 2017, 04:46:57 am by RogueFarmer |
||
1 Replies
1,553 Views |
March 27, 2017, 01:39:02 am by Drengr |
|||
Unwanted adaptation to milk?
Started by LePatron7 |
11 Replies
3,976 Views |
March 26, 2017, 06:44:15 am by HelpMeToHelpEwe |
||
Forthcoming apocalypse
Started by TylerDurden |
0 Replies
1,059 Views |
March 25, 2017, 04:11:45 pm by TylerDurden |
||
Interesting article on the Inuit
Started by TylerDurden |
0 Replies
1,054 Views |
March 25, 2017, 01:59:13 am by TylerDurden |
||
0 Replies
1,021 Views |
March 25, 2017, 01:46:36 am by TylerDurden |
|||
More bio-hacking
Started by TylerDurden |
0 Replies
1,032 Views |
March 23, 2017, 10:29:54 pm by TylerDurden |
||
0 Replies
1,052 Views |
March 22, 2017, 03:22:07 am by TylerDurden |
|||
2 Replies
1,419 Views |
March 22, 2017, 12:06:09 am by Drengr |
|||
Yet another reason to buy local
Started by TylerDurden |
0 Replies
1,865 Views |
March 21, 2017, 06:36:32 am by TylerDurden |
||
Pollution getting worse
Started by TylerDurden |
1 Replies
2,300 Views |
March 20, 2017, 10:09:55 pm by LePatron7 |
||
0 Replies
1,861 Views |
March 18, 2017, 09:23:57 am by TylerDurden |
|||
The end of the world as we know it
Started by raw-al |
24 Replies
7,245 Views |
March 17, 2017, 10:49:54 am by sabertooth |
||
Foraging
Started by TylerDurden |
4 Replies
1,965 Views |
March 16, 2017, 12:50:13 pm by TylerDurden |
||
Another reason to avoid farmed fish
Started by TylerDurden |
1 Replies
1,282 Views |
March 14, 2017, 07:57:23 pm by dariorpl |
||
0 Replies
1,055 Views |
March 14, 2017, 03:13:31 am by TylerDurden |
|||
Interesting article
Started by TylerDurden |
0 Replies
1,025 Views |
March 14, 2017, 12:19:33 am by TylerDurden |
||
0 Replies
1,012 Views |
March 13, 2017, 09:39:05 am by TylerDurden |
|||
Poignant story
Started by TylerDurden |
0 Replies
1,081 Views |
March 13, 2017, 09:37:40 am by TylerDurden |
||
Was there really dinosaurs?
Started by raw-al |
4 Replies
2,289 Views |
March 12, 2017, 03:03:32 am by dariorpl |
||
Food for thought
Started by TylerDurden |
0 Replies
1,064 Views |
March 10, 2017, 11:05:21 am by TylerDurden |
||
1 Replies
1,365 Views |
March 10, 2017, 09:03:16 am by dariorpl |
|||
Urine grown tomatoes
Started by raw-al |
0 Replies
1,215 Views |
March 10, 2017, 05:47:35 am by raw-al |
||
RVAF diet ideas re promotion
Started by TylerDurden |
1 Replies
1,380 Views |
March 08, 2017, 09:00:27 pm by dariorpl |
||
7 Replies
3,519 Views |
March 08, 2017, 08:40:32 pm by dariorpl |
|||
Battery-farm horror
Started by TylerDurden |
0 Replies
1,043 Views |
March 08, 2017, 04:37:56 am by TylerDurden |
||
0 Replies
1,048 Views |
March 07, 2017, 03:07:59 pm by TylerDurden |
|||
New method to tackle oil spills
Started by TylerDurden |
0 Replies
1,150 Views |
March 07, 2017, 12:49:50 am by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll