/* * 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 46 Guests are viewing this board. | ||||
![]() |
![]() |
0 Replies
9,448 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Recommendation
Started by TylerDurden |
0 Replies
9,695 Views |
![]() by TylerDurden |
![]() |
![]() |
Rant against veganism
Started by TylerDurden |
0 Replies
8,987 Views |
![]() by TylerDurden |
![]() |
![]() |
Fast Food Swamps
Started by TylerDurden |
0 Replies
8,741 Views |
![]() by TylerDurden |
![]() |
![]() |
Vegans are becoming more militant
Started by TylerDurden |
1 Replies
8,860 Views |
![]() by TylerDurden |
![]() |
![]() |
Pro-meat argument
Started by TylerDurden |
0 Replies
8,322 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
8,499 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,377 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,194 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Vegetarian loses discrimination case
Started by TylerDurden |
0 Replies
8,203 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
8,824 Views |
![]() by TylerDurden |
|
![]() |
![]() |
180 Replies
95,934 Views |
![]() by surfsteve |
|
![]() |
![]() |
A new kind of farming...
Started by TylerDurden |
1 Replies
9,383 Views |
![]() by TylerDurden |
![]() |
![]() |
Palaeo grounding theme
Started by TylerDurden |
0 Replies
8,481 Views |
![]() by TylerDurden |
![]() |
![]() |
Amount of meat in supermarket burgers
Started by TylerDurden |
0 Replies
8,557 Views |
![]() by TylerDurden |
![]() |
![]() |
Neanderthal survival course
Started by TylerDurden |
0 Replies
8,476 Views |
![]() by TylerDurden |
![]() |
![]() |
The ignored plastic menace
Started by TylerDurden |
0 Replies
8,488 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
9,104 Views |
![]() by sabertooth |
|
![]() |
![]() |
More UN idiocy
Started by TylerDurden |
0 Replies
8,587 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
8,804 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
9,410 Views |
![]() by smokeyquartz |
|
![]() |
![]() |
how did western politics arrive here?
Started by Alive |
0 Replies
8,854 Views |
![]() by Alive |
![]() |
![]() |
We want to live website
Started by smokeyquartz |
0 Replies
8,993 Views |
![]() by smokeyquartz |
![]() |
![]() |
Dehydrated raw animal fat
Started by TylerDurden |
3 Replies
10,659 Views |
![]() by thehadezb |
![]() |
![]() |
Vegan meat article
Started by TylerDurden |
0 Replies
9,234 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
9,027 Views |
![]() by TylerDurden |
|
![]() |
![]() |
How hunting can save money
Started by TylerDurden |
0 Replies
8,773 Views |
![]() by TylerDurden |
![]() |
![]() |
Nature Deficit Disorder
Started by TylerDurden |
0 Replies
8,957 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
10,171 Views |
![]() by sabertooth |
|
![]() |
![]() |
0 Replies
8,900 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,730 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,834 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,633 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Interesting article
Started by TylerDurden |
0 Replies
8,717 Views |
![]() by TylerDurden |
![]() |
![]() |
Celebrities ditching veganism
Started by TylerDurden |
0 Replies
8,883 Views |
![]() by TylerDurden |
![]() |
![]() |
Testimonial re egg allergy
Started by TylerDurden |
4 Replies
10,463 Views |
![]() by TylerDurden |
![]() |
![]() |
US/UK etc farmers being hit
Started by TylerDurden |
2 Replies
9,445 Views |
![]() by sabertooth |
![]() |
![]() |
Use it or lose it theme
Started by TylerDurden |
0 Replies
8,695 Views |
![]() by TylerDurden |
![]() |
![]() |
Horrifying rise of the splinternet...
Started by TylerDurden |
0 Replies
8,757 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
8,929 Views |
![]() by surfsteve |
|
![]() |
![]() |
Mere RPD musing....
Started by TylerDurden |
2 Replies
9,525 Views |
![]() by TylerDurden |
![]() |
![]() |
6 Replies
10,679 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New vegan stance re gardening
Started by TylerDurden |
0 Replies
8,827 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
8,925 Views |
![]() by dariorpl |
|
![]() |
![]() |
5 Replies
10,097 Views |
![]() by van |
|
![]() |
![]() |
0 Replies
8,366 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
8,685 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
0 Replies
8,316 Views |
![]() by TylerDurden |
|
![]() |
![]() |
UN trying to tax all meat
Started by TylerDurden |
0 Replies
8,143 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
8,260 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll