/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 65 Guests are viewing this board. | ||||
![]() |
![]() |
Courtney for Congress
Started by Alive |
0 Replies
2,693 Views |
![]() by Alive |
![]() |
![]() |
0 Replies
3,453 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,491 Views |
![]() by svrn |
|
![]() |
![]() |
Snake Venom
Started by sabertooth |
0 Replies
2,171 Views |
![]() by sabertooth |
![]() |
![]() |
Plant intelligence
Started by Projectile Vomit |
0 Replies
2,123 Views |
![]() by Projectile Vomit |
![]() |
![]() |
Forwarded message from Aajonus
Started by TylerDurden |
0 Replies
2,202 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,686 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
World nettle-eating championship
Started by TylerDurden |
0 Replies
3,271 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,933 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Interesting article
Started by TylerDurden |
0 Replies
2,015 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,067 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
book reviews
Started by TylerDurden |
0 Replies
3,050 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,963 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Bees addicted to pesticides?
Started by TylerDurden |
0 Replies
1,942 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,301 Views |
![]() by raw-al |
|
![]() |
![]() |
NASA: Life on Mars?
Started by goodsamaritan |
0 Replies
3,076 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
1,875 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: Irritating internet laws
Started by Waungata |
0 Replies
3,633 Views |
![]() by Waungata |
![]() |
![]() |
0 Replies
1,754 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,962 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Chemicals in popcorn case
Started by TylerDurden |
0 Replies
1,853 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,173 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,226 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
1,837 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Could you pass the 11-plus?
Started by boxcarguy07 |
0 Replies
3,426 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Stone Age artworks found in Russia
Started by TylerDurden |
0 Replies
3,302 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,650 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
1,803 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Llamas 'better than dogs' for hunting
Started by Alive |
0 Replies
3,452 Views |
![]() by Alive |
![]() |
![]() |
Neanderthals article
Started by TylerDurden |
0 Replies
1,896 Views |
![]() by TylerDurden |
![]() |
![]() |
Testimonials
Started by TylerDurden |
0 Replies
3,084 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,076 Views |
![]() by raw-al |
|
![]() |
![]() |
Possibly raw(?) high-alcohol beer
Started by TylerDurden |
0 Replies
2,358 Views |
![]() by TylerDurden |
![]() |
![]() |
MOVED: truth. you shall find.
Started by TylerDurden |
0 Replies
2,445 Views |
![]() by TylerDurden |
![]() |
![]() |
Giant lions 13,000 years ago
Started by TylerDurden |
0 Replies
3,123 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,157 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Worrying article on pesticides
Started by TylerDurden |
0 Replies
2,383 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,963 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,497 Views |
![]() by Alive |
|
![]() |
![]() |
Anti-cooking article
Started by TylerDurden |
0 Replies
2,165 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,974 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,575 Views |
![]() by Dwight |
|
![]() |
![]() |
0 Replies
1,992 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Long-held myth debunked
Started by TylerDurden |
0 Replies
1,846 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,083 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Women and Beer Claim
Started by TylerDurden |
0 Replies
2,398 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,731 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Even poor Romans had very varied diet
Started by TylerDurden |
0 Replies
1,831 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,261 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
To all the January Birthday Boys
Started by Satya |
0 Replies
2,876 Views |
![]() by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll