/* * 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 78 Guests are viewing this board. | ||||
![]() |
![]() |
Is farming the root of all evil?
Started by TylerDurden |
19 Replies
11,005 Views |
![]() by PaleoPhil |
![]() |
![]() |
Female members
Started by TylerDurden |
5 Replies
4,487 Views |
![]() by TylerDurden |
![]() |
![]() |
The Star Sirius used to be RED
Started by goodsamaritan |
0 Replies
3,308 Views |
![]() by goodsamaritan |
![]() |
![]() |
6 Replies
6,466 Views |
![]() by razmatazz |
|
![]() |
![]() |
Even fruit flies prefer meat?
Started by PaleoPhil |
7 Replies
8,139 Views |
![]() by Raw Kyle |
![]() |
![]() |
Palaeolithic dogs?
Started by TylerDurden |
6 Replies
5,904 Views |
![]() by Ioanna |
![]() |
![]() |
21 Replies
13,239 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
3 Replies
4,092 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Swiss Cows Commit Suicide
Started by goodsamaritan |
1 Replies
3,339 Views |
![]() by William |
![]() |
![]() |
Disgusting things people do
Started by TylerDurden |
11 Replies
8,028 Views |
![]() by wodgina |
![]() |
![]() |
NHS attacks
Started by TylerDurden |
20 Replies
14,613 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
3,232 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Deleted...Tyler Durden
Started by SkinnyDevil |
1 Replies
2,869 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,818 Views |
![]() by RawZi |
|
![]() |
![]() |
6 Replies
5,110 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Challenge to out of africa hypothesis
Started by TylerDurden |
1 Replies
2,754 Views |
![]() by SkinnyDevil |
![]() |
![]() |
High fat diet effect on cognition
Started by TylerDurden |
11 Replies
7,730 Views |
![]() by Raw Kyle |
![]() |
![]() |
Inflammation linked to Alzheimer's
Started by TylerDurden |
0 Replies
2,683 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain palaeo newsletter
Started by TylerDurden |
1 Replies
2,953 Views |
![]() by wodgina |
![]() |
![]() |
Play Makes Us Human
Started by PaleoPhil |
1 Replies
3,143 Views |
![]() by goodsamaritan |
![]() |
![]() |
What are chickens supposed to eat?
Started by Squall |
1 Replies
3,524 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,852 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Pray for Edwin, Typhoon Ondoy swept Manila
Started by vernon |
3 Replies
4,538 Views |
![]() by PaleoPhil |
![]() |
![]() |
Infanticide in the palaeolithic
Started by TylerDurden |
23 Replies
18,343 Views |
![]() by Raw Kyle |
![]() |
![]() |
1 Replies
3,697 Views |
![]() by RawZi |
|
![]() |
![]() |
8 Replies
6,708 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Preserved/untouched parts of the UK
Started by phatdave |
2 Replies
3,351 Views |
![]() by TylerDurden |
![]() |
![]() |
Is it helthy?
Started by majormark |
1 Replies
3,019 Views |
![]() by goodsamaritan |
![]() |
![]() |
12 Replies
6,077 Views |
![]() by wodgina |
|
![]() |
![]() |
Modern Men are wimps!
Started by TylerDurden |
17 Replies
8,802 Views |
![]() by wodgina |
![]() |
![]() |
4 Replies
3,614 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Gender-bender chemicals
Started by TylerDurden |
1 Replies
2,858 Views |
![]() by RawZi |
![]() |
![]() |
Raw Fish articles
Started by TylerDurden |
0 Replies
2,965 Views |
![]() by TylerDurden |
![]() |
![]() |
Interesting article about offal
Started by TylerDurden |
0 Replies
2,808 Views |
![]() by TylerDurden |
![]() |
![]() |
On a deserted island
Started by majormark |
4 Replies
3,842 Views |
![]() by cherimoya_kid |
![]() |
![]() |
3 Replies
3,967 Views |
![]() by RawZi |
|
![]() |
![]() |
Net neutrailty
Started by MaverickHunter40245 |
0 Replies
2,889 Views |
![]() by MaverickHunter40245 |
![]() |
![]() |
6 Replies
4,975 Views |
![]() by wodgina |
|
![]() |
![]() |
meat production and environment!
Started by razmatazz |
5 Replies
4,642 Views |
![]() by TylerDurden |
![]() |
![]() |
Diveticulitis
Started by TylerDurden |
4 Replies
4,733 Views |
![]() by TylerDurden |
![]() |
![]() |
Health Care US
Started by SkinnyDevil |
6 Replies
4,903 Views |
![]() by SkinnyDevil |
![]() |
![]() |
7 Replies
5,510 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
2 Replies
2,853 Views |
![]() by RawZi |
|
![]() |
![]() |
Name That Tune
Started by SkinnyDevil |
6 Replies
4,701 Views |
![]() by TylerDurden |
![]() |
![]() |
How important is the Attitude?
Started by majormark |
16 Replies
7,705 Views |
![]() by majormark |
![]() |
![]() |
Other Raw Food Forums
Started by TylerDurden |
2 Replies
3,395 Views |
![]() by RawZi |
![]() |
![]() |
Anti-meat articles in the media
Started by TylerDurden |
5 Replies
4,947 Views |
![]() by PaleoPhil |
![]() |
![]() |
Bee pollen, yay or nay?
Started by RawZi |
10 Replies
11,717 Views |
![]() by van |
![]() |
![]() |
Lovely photo of RAFers
Started by TylerDurden |
12 Replies
7,610 Views |
![]() by PaleoPhil |
![]() |
![]() |
David Wolfe and ants
Started by TylerDurden |
21 Replies
13,757 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll