/* * 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 60 Guests are viewing this board. | ||||
![]() |
![]() |
Shocking story
Started by TylerDurden |
22 Replies
11,563 Views |
![]() by Michael |
![]() |
![]() |
New RPD term
Started by TylerDurden |
0 Replies
2,880 Views |
![]() by TylerDurden |
![]() |
![]() |
Whole Foods Boycott
Started by SkinnyDevil |
11 Replies
7,779 Views |
![]() by SkinnyDevil |
![]() |
![]() |
2 Replies
15,505 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
23 Replies
12,463 Views |
![]() by DeadRamones |
|
![]() |
![]() |
Age linked to physical appearance
Started by TylerDurden |
0 Replies
2,804 Views |
![]() by TylerDurden |
![]() |
![]() |
New Inuit Movie: Sikumi (On the Ice)
Started by PaleoPhil |
2 Replies
3,303 Views |
![]() by PaleoPhil |
![]() |
![]() |
5 Replies
4,046 Views |
![]() by majormark |
|
![]() |
![]() |
Covert celebrities among us?
Started by goodsamaritan |
7 Replies
5,750 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Fasting diet
Started by TylerDurden |
2 Replies
3,324 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
6,042 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
6,007 Views |
![]() by RawZi |
|
![]() |
![]() |
Jesse Ventura's Conspiracy theory show
Started by funkymonk |
0 Replies
2,586 Views |
![]() by funkymonk |
![]() |
![]() |
Mattresses
Started by RawZi |
2 Replies
3,070 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
4,758 Views |
![]() by William |
|
![]() |
![]() |
The Gods Of The Copybook Headings
Started by TylerDurden |
1 Replies
2,736 Views |
![]() by William |
![]() |
![]() |
Just for kicks.
Started by DeadRamones |
2 Replies
3,197 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Cool Pic!
Started by SkinnyDevil |
0 Replies
3,079 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Political Spectrum Poll
Started by TylerDurden |
2 Replies
3,320 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Raw palaeo toughness
Started by TylerDurden |
12 Replies
7,981 Views |
![]() by PaleoPhil |
![]() |
![]() |
3 Replies
4,570 Views |
![]() by redfulcrum |
|
![]() |
![]() |
Beyond Civilization?
Started by Sitting Coyote |
2 Replies
3,166 Views |
![]() by SkinnyDevil |
![]() |
![]() |
2 Replies
2,945 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
5 Replies
4,566 Views |
![]() by klowcarb |
|
![]() |
![]() |
The Evil of Supermarkets
Started by TylerDurden |
10 Replies
7,464 Views |
![]() by TylerDurden |
![]() |
![]() |
Ethiopian raw meat video
Started by TylerDurden |
3 Replies
4,990 Views |
![]() by RawZi |
![]() |
![]() |
Healthy food in space?
Started by TylerDurden |
9 Replies
7,036 Views |
![]() by TylerDurden |
![]() |
![]() |
Cat food
Started by extralizard13 |
2 Replies
3,161 Views |
![]() by extralizard13 |
![]() |
![]() |
What's happening?
Started by Josh |
6 Replies
4,945 Views |
![]() by Josh |
![]() |
![]() |
91 Replies
41,533 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Palaeo-era Aurochs to be bred back
Started by TylerDurden |
0 Replies
3,061 Views |
![]() by TylerDurden |
![]() |
![]() |
Study re blondes
Started by TylerDurden |
0 Replies
2,882 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,298 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,573 Views |
![]() by van |
|
![]() |
![]() |
Urban Caveman Article
Started by extralizard13 |
8 Replies
6,769 Views |
![]() by extralizard13 |
![]() |
![]() |
The Work Crowd
Started by Ioanna |
6 Replies
4,647 Views |
![]() by jessica |
![]() |
![]() |
Computer/Console Games
Started by Dwight |
5 Replies
4,524 Views |
![]() by TylerDurden |
![]() |
![]() |
People of Walmart
Started by Nation |
1 Replies
3,129 Views |
![]() by jessica |
![]() |
![]() |
Water as a Fuel?
Started by Paleo Donk |
6 Replies
5,101 Views |
![]() by alphagruis |
![]() |
![]() |
Star Trek 3-D Chess
Started by SkinnyDevil |
3 Replies
3,268 Views |
![]() by TylerDurden |
![]() |
![]() |
Fish Oil and Longevity Study
Started by TylerDurden |
3 Replies
3,789 Views |
![]() by cherimoya_kid |
![]() |
![]() |
AVATAR
Started by aunaturale « 1 2 » |
28 Replies
15,669 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,186 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
10 Replies
6,633 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
1 Replies
3,345 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
7 Replies
5,473 Views |
![]() by William |
|
![]() |
![]() |
9 Replies
5,624 Views |
![]() by RawZi |
|
![]() |
![]() |
1 Replies
2,670 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
3,612 Views |
![]() by William |
|
![]() |
![]() |
Interesting article about wilderness
Started by TylerDurden |
0 Replies
2,667 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll