/* * 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 101 Guests are viewing this board. | ||||
![]() |
![]() |
Is farming the root of all evil?
Started by TylerDurden |
19 Replies
8,746 Views |
![]() by PaleoPhil |
![]() |
![]() |
Female members
Started by TylerDurden |
5 Replies
3,277 Views |
![]() by TylerDurden |
![]() |
![]() |
The Star Sirius used to be RED
Started by goodsamaritan |
0 Replies
2,433 Views |
![]() by goodsamaritan |
![]() |
![]() |
6 Replies
5,090 Views |
![]() by razmatazz |
|
![]() |
![]() |
Even fruit flies prefer meat?
Started by PaleoPhil |
7 Replies
6,816 Views |
![]() by Raw Kyle |
![]() |
![]() |
Palaeolithic dogs?
Started by TylerDurden |
6 Replies
4,487 Views |
![]() by Ioanna |
![]() |
![]() |
21 Replies
10,518 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
3 Replies
3,039 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Swiss Cows Commit Suicide
Started by goodsamaritan |
1 Replies
2,327 Views |
![]() by William |
![]() |
![]() |
Disgusting things people do
Started by TylerDurden |
11 Replies
5,898 Views |
![]() by wodgina |
![]() |
![]() |
NHS attacks
Started by TylerDurden |
20 Replies
11,532 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
2,276 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Deleted...Tyler Durden
Started by SkinnyDevil |
1 Replies
2,063 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
2,883 Views |
![]() by RawZi |
|
![]() |
![]() |
6 Replies
3,960 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Challenge to out of africa hypothesis
Started by TylerDurden |
1 Replies
1,930 Views |
![]() by SkinnyDevil |
![]() |
![]() |
High fat diet effect on cognition
Started by TylerDurden |
11 Replies
6,412 Views |
![]() by Raw Kyle |
![]() |
![]() |
Inflammation linked to Alzheimer's
Started by TylerDurden |
0 Replies
1,894 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain palaeo newsletter
Started by TylerDurden |
1 Replies
2,172 Views |
![]() by wodgina |
![]() |
![]() |
Play Makes Us Human
Started by PaleoPhil |
1 Replies
2,249 Views |
![]() by goodsamaritan |
![]() |
![]() |
What are chickens supposed to eat?
Started by Squall |
1 Replies
2,607 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,903 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Pray for Edwin, Typhoon Ondoy swept Manila
Started by vernon |
3 Replies
3,333 Views |
![]() by PaleoPhil |
![]() |
![]() |
Infanticide in the palaeolithic
Started by TylerDurden |
23 Replies
15,320 Views |
![]() by Raw Kyle |
![]() |
![]() |
1 Replies
2,674 Views |
![]() by RawZi |
|
![]() |
![]() |
8 Replies
5,295 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Preserved/untouched parts of the UK
Started by phatdave |
2 Replies
2,469 Views |
![]() by TylerDurden |
![]() |
![]() |
Is it helthy?
Started by majormark |
1 Replies
2,184 Views |
![]() by goodsamaritan |
![]() |
![]() |
12 Replies
4,754 Views |
![]() by wodgina |
|
![]() |
![]() |
Modern Men are wimps!
Started by TylerDurden |
17 Replies
7,198 Views |
![]() by wodgina |
![]() |
![]() |
4 Replies
2,684 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Gender-bender chemicals
Started by TylerDurden |
1 Replies
2,066 Views |
![]() by RawZi |
![]() |
![]() |
Raw Fish articles
Started by TylerDurden |
0 Replies
2,086 Views |
![]() by TylerDurden |
![]() |
![]() |
Interesting article about offal
Started by TylerDurden |
0 Replies
1,992 Views |
![]() by TylerDurden |
![]() |
![]() |
On a deserted island
Started by majormark |
4 Replies
2,917 Views |
![]() by cherimoya_kid |
![]() |
![]() |
3 Replies
3,054 Views |
![]() by RawZi |
|
![]() |
![]() |
Net neutrailty
Started by MaverickHunter40245 |
0 Replies
2,006 Views |
![]() by MaverickHunter40245 |
![]() |
![]() |
6 Replies
3,705 Views |
![]() by wodgina |
|
![]() |
![]() |
meat production and environment!
Started by razmatazz |
5 Replies
3,546 Views |
![]() by TylerDurden |
![]() |
![]() |
Diveticulitis
Started by TylerDurden |
4 Replies
3,745 Views |
![]() by TylerDurden |
![]() |
![]() |
Health Care US
Started by SkinnyDevil |
6 Replies
3,881 Views |
![]() by SkinnyDevil |
![]() |
![]() |
7 Replies
4,251 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
2 Replies
2,008 Views |
![]() by RawZi |
|
![]() |
![]() |
Name That Tune
Started by SkinnyDevil |
6 Replies
3,737 Views |
![]() by TylerDurden |
![]() |
![]() |
How important is the Attitude?
Started by majormark |
16 Replies
6,310 Views |
![]() by majormark |
![]() |
![]() |
Other Raw Food Forums
Started by TylerDurden |
2 Replies
2,404 Views |
![]() by RawZi |
![]() |
![]() |
Anti-meat articles in the media
Started by TylerDurden |
5 Replies
3,729 Views |
![]() by PaleoPhil |
![]() |
![]() |
Bee pollen, yay or nay?
Started by RawZi |
10 Replies
10,367 Views |
![]() by van |
![]() |
![]() |
Lovely photo of RAFers
Started by TylerDurden |
12 Replies
5,887 Views |
![]() by PaleoPhil |
![]() |
![]() |
David Wolfe and ants
Started by TylerDurden |
21 Replies
11,779 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll