/* * 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 140 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,610 Views |
![]() by Bio-shell Avatar |
|
![]() |
![]() |
Hey buddy can you spare 43 trillion?
Started by raw-al |
0 Replies
2,317 Views |
![]() by raw-al |
![]() |
![]() |
David vs Goliath (Monsanto)
Started by raw-al |
2 Replies
2,574 Views |
![]() by raw-al |
![]() |
![]() |
Human Planet - Jungles - BCC
Started by Aura |
5 Replies
4,189 Views |
![]() by Löwenherz |
![]() |
![]() |
Freedom for children at school
Started by Alive |
6 Replies
5,916 Views |
![]() by Alive |
![]() |
![]() |
40 Replies
23,593 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
7 Replies
5,118 Views |
![]() by Alive |
|
![]() |
![]() |
Overdiagnosis and Overtreatment Rampant
Started by Alive |
12 Replies
6,529 Views |
![]() by Alive |
![]() |
![]() |
Funniest Movies
Started by Alive |
10 Replies
6,568 Views |
![]() by Alive |
![]() |
![]() |
42 Replies
22,370 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
3,081 Views |
![]() by TylerDurden |
|
![]() |
![]() |
32 Replies
29,289 Views |
![]() by svrn |
|
![]() |
![]() |
mineral absorption through ash
Started by svrn |
8 Replies
5,305 Views |
![]() by jessica |
![]() |
![]() |
cooked food history
Started by svrn |
7 Replies
5,386 Views |
![]() by Iguana |
![]() |
![]() |
natural tobacco
Started by svrn |
11 Replies
8,070 Views |
![]() by PaleoPhil |
![]() |
![]() |
Possible rawpalaeo horror?
Started by TylerDurden |
9 Replies
5,246 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
2,862 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
6 Replies
5,153 Views |
![]() by Polyvore |
|
![]() |
![]() |
Dangers of Vitamin D
Started by Alive |
24 Replies
13,977 Views |
![]() by Alive |
![]() |
![]() |
Raw honey - is it just marketing?
Started by aLptHW4k4y « 1 2 » |
32 Replies
19,580 Views |
![]() by Dorothy |
![]() |
![]() |
5 Replies
4,317 Views |
![]() by TylerDurden |
|
![]() |
![]() |
72 Replies
33,218 Views |
![]() by Alive |
|
![]() |
![]() |
The Disappearing Male
Started by raw-al |
7 Replies
5,328 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
3,343 Views |
![]() by raw-al |
|
![]() |
![]() |
41 Replies
22,685 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
OK what's the deal here?
Started by raw-al |
0 Replies
2,431 Views |
![]() by raw-al |
![]() |
![]() |
Dig out your swim trunks
Started by raw-al |
1 Replies
2,301 Views |
![]() by raw-al |
![]() |
![]() |
Alien Implants Tested
Started by raw-al |
6 Replies
4,844 Views |
![]() by raw-al |
![]() |
![]() |
8 Replies
9,840 Views |
![]() by Gordono |
|
![]() |
![]() |
15 Replies
9,067 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Steak Cake haha
Started by Fermenter Zym |
12 Replies
12,053 Views |
![]() by Chris |
![]() |
![]() |
Who's Monsanto's Best Friend in Congress?
Started by raw-al |
2 Replies
3,158 Views |
![]() by raw-al |
![]() |
![]() |
Controversial anti-Aajonus claim
Started by TylerDurden « 1 2 3 4 » |
91 Replies
39,667 Views |
![]() by svrn |
![]() |
![]() |
12 Replies
8,699 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
JAMES HOLMES is schizophrenic?
Started by raw |
23 Replies
14,822 Views |
![]() by sabertooth |
![]() |
![]() |
68 Replies
33,397 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
12 Replies
9,527 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Hard Apple Cider
Started by Chris |
2 Replies
3,252 Views |
![]() by Chris |
![]() |
![]() |
Dried Herbs! Friend or Foe?
Started by Chris |
24 Replies
13,415 Views |
![]() by Dorothy |
![]() |
![]() |
Are raw diet for everyone?
Started by Chopstick33 |
24 Replies
11,958 Views |
![]() by Dorothy |
![]() |
![]() |
Is Chia Oil the best Omega 3 source?
Started by Duke |
8 Replies
5,577 Views |
![]() by Chris |
![]() |
![]() |
new updates
Started by svrn |
1 Replies
2,692 Views |
![]() by svrn |
![]() |
![]() |
14 Replies
18,300 Views |
![]() by TylerDurden |
|
![]() |
![]() |
14 Replies
12,673 Views |
![]() by Dorothy |
|
![]() |
![]() |
coffee,sugar,diet sugar
Started by blackrhino « 1 2 » |
34 Replies
20,542 Views |
![]() by Dorothy |
![]() |
![]() |
5 Replies
7,342 Views |
![]() by Adora |
|
![]() |
![]() |
29 Replies
15,862 Views |
![]() by Dorothy |
|
![]() |
![]() |
17 Replies
11,334 Views |
![]() by gc |
|
![]() |
![]() |
82 Replies
48,204 Views |
![]() by Inger |
|
![]() |
![]() |
Avocado Diet
Started by Fermenter Zym |
3 Replies
4,150 Views |
![]() by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll