/* * 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 102 Guests are viewing this board. | ||||
![]() |
![]() |
Shocking story
Started by TylerDurden |
22 Replies
11,505 Views |
![]() by Michael |
![]() |
![]() |
New RPD term
Started by TylerDurden |
0 Replies
2,874 Views |
![]() by TylerDurden |
![]() |
![]() |
Whole Foods Boycott
Started by SkinnyDevil |
11 Replies
7,748 Views |
![]() by SkinnyDevil |
![]() |
![]() |
2 Replies
15,498 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
23 Replies
12,423 Views |
![]() by DeadRamones |
|
![]() |
![]() |
Age linked to physical appearance
Started by TylerDurden |
0 Replies
2,800 Views |
![]() by TylerDurden |
![]() |
![]() |
New Inuit Movie: Sikumi (On the Ice)
Started by PaleoPhil |
2 Replies
3,296 Views |
![]() by PaleoPhil |
![]() |
![]() |
5 Replies
4,037 Views |
![]() by majormark |
|
![]() |
![]() |
Covert celebrities among us?
Started by goodsamaritan |
7 Replies
5,728 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Fasting diet
Started by TylerDurden |
2 Replies
3,315 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
6,023 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
5,997 Views |
![]() by RawZi |
|
![]() |
![]() |
Jesse Ventura's Conspiracy theory show
Started by funkymonk |
0 Replies
2,580 Views |
![]() by funkymonk |
![]() |
![]() |
Mattresses
Started by RawZi |
2 Replies
3,056 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
4,731 Views |
![]() by William |
|
![]() |
![]() |
The Gods Of The Copybook Headings
Started by TylerDurden |
1 Replies
2,731 Views |
![]() by William |
![]() |
![]() |
Just for kicks.
Started by DeadRamones |
2 Replies
3,190 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Cool Pic!
Started by SkinnyDevil |
0 Replies
3,067 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Political Spectrum Poll
Started by TylerDurden |
2 Replies
3,308 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Raw palaeo toughness
Started by TylerDurden |
12 Replies
7,963 Views |
![]() by PaleoPhil |
![]() |
![]() |
3 Replies
4,563 Views |
![]() by redfulcrum |
|
![]() |
![]() |
Beyond Civilization?
Started by Sitting Coyote |
2 Replies
3,150 Views |
![]() by SkinnyDevil |
![]() |
![]() |
2 Replies
2,934 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
5 Replies
4,544 Views |
![]() by klowcarb |
|
![]() |
![]() |
The Evil of Supermarkets
Started by TylerDurden |
10 Replies
7,441 Views |
![]() by TylerDurden |
![]() |
![]() |
Ethiopian raw meat video
Started by TylerDurden |
3 Replies
4,974 Views |
![]() by RawZi |
![]() |
![]() |
Healthy food in space?
Started by TylerDurden |
9 Replies
7,008 Views |
![]() by TylerDurden |
![]() |
![]() |
Cat food
Started by extralizard13 |
2 Replies
3,154 Views |
![]() by extralizard13 |
![]() |
![]() |
What's happening?
Started by Josh |
6 Replies
4,934 Views |
![]() by Josh |
![]() |
![]() |
91 Replies
41,359 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Palaeo-era Aurochs to be bred back
Started by TylerDurden |
0 Replies
3,052 Views |
![]() by TylerDurden |
![]() |
![]() |
Study re blondes
Started by TylerDurden |
0 Replies
2,875 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,289 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,563 Views |
![]() by van |
|
![]() |
![]() |
Urban Caveman Article
Started by extralizard13 |
8 Replies
6,730 Views |
![]() by extralizard13 |
![]() |
![]() |
The Work Crowd
Started by Ioanna |
6 Replies
4,629 Views |
![]() by jessica |
![]() |
![]() |
Computer/Console Games
Started by Dwight |
5 Replies
4,505 Views |
![]() by TylerDurden |
![]() |
![]() |
People of Walmart
Started by Nation |
1 Replies
3,119 Views |
![]() by jessica |
![]() |
![]() |
Water as a Fuel?
Started by Paleo Donk |
6 Replies
5,073 Views |
![]() by alphagruis |
![]() |
![]() |
Star Trek 3-D Chess
Started by SkinnyDevil |
3 Replies
3,254 Views |
![]() by TylerDurden |
![]() |
![]() |
Fish Oil and Longevity Study
Started by TylerDurden |
3 Replies
3,769 Views |
![]() by cherimoya_kid |
![]() |
![]() |
AVATAR
Started by aunaturale « 1 2 » |
28 Replies
15,591 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,171 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
10 Replies
6,613 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
1 Replies
3,335 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
7 Replies
5,451 Views |
![]() by William |
|
![]() |
![]() |
9 Replies
5,585 Views |
![]() by RawZi |
|
![]() |
![]() |
1 Replies
2,658 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
3,592 Views |
![]() by William |
|
![]() |
![]() |
Interesting article about wilderness
Started by TylerDurden |
0 Replies
2,649 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll