/* * 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 45 Guests are viewing this board. | ||||
![]() |
![]() |
Travelling while doing RAF
Started by TylerDurden |
14 Replies
7,890 Views |
![]() by lex_rooker |
![]() |
![]() |
Social pressures
Started by TylerDurden |
5 Replies
4,228 Views |
![]() by JaX |
![]() |
![]() |
Citric acid
Started by TylerDurden |
5 Replies
7,178 Views |
![]() by Nicola |
![]() |
![]() |
Question re calories etc.
Started by TylerDurden |
5 Replies
4,631 Views |
![]() by William |
![]() |
![]() |
Interesting (non-rawpalaeo) article
Started by TylerDurden |
1 Replies
3,244 Views |
![]() by wodgina |
![]() |
![]() |
1 Replies
3,099 Views |
![]() by wodgina |
|
![]() |
![]() |
I bought a house!
Started by Raw Kyle |
10 Replies
7,272 Views |
![]() by Raw Kyle |
![]() |
![]() |
19 Replies
10,813 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
protein poisoning in carnivores?
Started by Raw Kyle |
3 Replies
4,369 Views |
![]() by Raw Kyle |
![]() |
![]() |
Rafer Christmas
Started by TylerDurden |
3 Replies
3,822 Views |
![]() by William |
![]() |
![]() |
MOVED: Animal Medicine Issue
Started by TylerDurden |
0 Replies
3,015 Views |
![]() by TylerDurden |
![]() |
![]() |
9 Replies
6,876 Views |
![]() by rafonly |
|
![]() |
![]() |
What's your blood type?
Started by goodsamaritan |
7 Replies
5,647 Views |
![]() by Guittarman03 |
![]() |
![]() |
Info on Palaeo Cave-Paintings
Started by TylerDurden |
0 Replies
3,060 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,776 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
0 Replies
2,963 Views |
![]() by TylerDurden |
|
![]() |
![]() |
13 Replies
7,969 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
book reviews
Started by TylerDurden |
0 Replies
3,049 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
5,666 Views |
![]() by MaverickHunter40245 |
|
![]() |
![]() |
Where's everybody living?
Started by Ioanna |
14 Replies
7,644 Views |
![]() by MaverickHunter40245 |
![]() |
![]() |
Weight loss help
Started by devidmike |
5 Replies
4,674 Views |
![]() by goodsamaritan |
![]() |
![]() |
Herbal medicine issue
Started by TylerDurden |
20 Replies
13,557 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,932 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
World nettle-eating championship
Started by TylerDurden |
0 Replies
3,271 Views |
![]() by TylerDurden |
![]() |
![]() |
Mercury in non-foods
Started by Ioanna |
10 Replies
7,603 Views |
![]() by Ioanna |
![]() |
![]() |
Caveman's angry exit etc.
Started by TylerDurden |
4 Replies
3,865 Views |
![]() by TylerDurden |
![]() |
![]() |
who knows you eat this way?
Started by Ioanna |
13 Replies
8,703 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
3,009 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Talking to plants
Started by TylerDurden |
4 Replies
4,146 Views |
![]() by invisible |
![]() |
![]() |
0 Replies
3,453 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Don't buy raw tuna
Started by TylerDurden |
11 Replies
7,076 Views |
![]() by Josh |
![]() |
![]() |
0 Replies
2,996 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
thought i'd share...
Started by razmatazz |
2 Replies
3,307 Views |
![]() by SkinnyDevil |
![]() |
![]() |
clinical kinesiology
Started by Ioanna |
6 Replies
4,869 Views |
![]() by wodgina |
![]() |
![]() |
Commitment thread
Started by Josh |
13 Replies
8,022 Views |
![]() by PaleoPhil |
![]() |
![]() |
2 Replies
3,871 Views |
![]() by William |
|
![]() |
![]() |
1 Replies
3,157 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
1 Replies
3,001 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Boy allergic to Food!
Started by wodgina |
2 Replies
3,243 Views |
![]() by Raw Kyle |
![]() |
![]() |
handling stress
Started by Ioanna |
16 Replies
8,355 Views |
![]() by PaleoPhil |
![]() |
![]() |
What COULD you eat, right now?
Started by Satya |
8 Replies
5,202 Views |
![]() by MaverickHunter40245 |
![]() |
![]() |
3 Replies
4,476 Views |
![]() by RawZi |
|
![]() |
![]() |
Who hunts their food?
Started by primavera |
9 Replies
7,458 Views |
![]() by William |
![]() |
![]() |
3 Replies
4,206 Views |
![]() by William |
|
![]() |
![]() |
12 Replies
7,847 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
The big bipedalism question....
Started by SuperInfinity |
3 Replies
3,562 Views |
![]() by Raw Kyle |
![]() |
![]() |
3 Replies
3,792 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
TED: "Aquatic Apes"
Started by SkinnyDevil |
16 Replies
12,349 Views |
![]() by PaleoPhil |
![]() |
![]() |
"Reject basic assumptions..."
Started by SkinnyDevil |
22 Replies
13,203 Views |
![]() by SkinnyDevil |
![]() |
![]() |
21 Replies
12,119 Views |
![]() by invisible |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll