/* * 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 221 Guests are viewing this board. | ||||
![]() |
![]() |
5 Replies
6,046 Views |
![]() by van |
|
![]() |
![]() |
9 Replies
8,268 Views |
![]() by letifer |
|
![]() |
![]() |
The Stone Age Diet
Started by carnivore |
11 Replies
8,011 Views |
![]() by Raw Kyle |
![]() |
![]() |
20 Replies
12,487 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
The Hibernation® Diet
Started by rawlion |
23 Replies
13,857 Views |
![]() by rawlion |
![]() |
![]() |
Low carb diet slows down the aging process
Started by carnivore |
9 Replies
6,237 Views |
![]() by TylerDurden |
![]() |
![]() |
33 Replies
24,293 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Hoodia
Started by DeadRamones |
6 Replies
5,311 Views |
![]() by DeadRamones |
![]() |
![]() |
39 Replies
19,417 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
37 Replies
21,011 Views |
![]() by William |
|
![]() |
![]() |
Ardipithecus
Started by Guittarman03 |
1 Replies
3,363 Views |
![]() by PaleoPhil |
![]() |
![]() |
Qesem Cave Site New Finding
Started by PaleoPhil |
7 Replies
7,202 Views |
![]() by PaleoPhil |
![]() |
![]() |
What's so great about AV?
Started by DeadRamones |
10 Replies
7,568 Views |
![]() by TylerDurden |
![]() |
![]() |
49 Replies
23,242 Views |
![]() by DeadRamones |
|
![]() |
![]() |
Stephen Morrissey - vegan
Started by lex_rooker |
4 Replies
5,009 Views |
![]() by TylerDurden |
![]() |
![]() |
92 Replies
45,600 Views |
![]() by TylerDurden |
|
![]() |
![]() |
22 Replies
17,583 Views |
![]() by TylerDurden |
|
![]() |
![]() |
eating raw veg and cooked meat together
Started by uph0 |
4 Replies
4,388 Views |
![]() by Guittarman03 |
![]() |
![]() |
Safe Sterilization
Started by protoject |
10 Replies
7,338 Views |
![]() by djr_81 |
![]() |
![]() |
17 Replies
10,402 Views |
![]() by livingthelife |
|
![]() |
![]() |
Re: Zero-carb trials re well-done meats
Started by Nicola |
12 Replies
8,789 Views |
![]() by PaleoPhil |
![]() |
![]() |
Raw vegans vs. raw paleo
Started by pookietooth « 1 2 » |
26 Replies
26,978 Views |
![]() by DeadRamones |
![]() |
![]() |
28 Replies
17,436 Views |
![]() by invisible |
|
![]() |
![]() |
79 Replies
47,190 Views |
![]() by William |
|
![]() |
![]() |
84 Replies
40,141 Views |
![]() by Michael |
|
![]() |
![]() |
primal/paleo -> vegan?
Started by livingthelife |
2 Replies
4,332 Views |
![]() by TylerDurden |
![]() |
![]() |
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,666 Views |
![]() by PaleoPhil |
![]() |
![]() |
Humanexperiment blog
Started by Nicola |
1 Replies
2,943 Views |
![]() by TylerDurden |
![]() |
![]() |
New Cordain Newsletter
Started by TylerDurden |
1 Replies
3,195 Views |
![]() by van |
![]() |
![]() |
11 Replies
7,919 Views |
![]() by alphagruis |
|
![]() |
![]() |
42 Replies
22,641 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Interesting cooked-palaeo blog
Started by TylerDurden |
1 Replies
3,619 Views |
![]() by invisible |
![]() |
![]() |
Interesting youtube video
Started by TylerDurden |
4 Replies
3,816 Views |
![]() by goodsamaritan |
![]() |
![]() |
Plastics component affects intestine
Started by Nicola |
14 Replies
8,116 Views |
![]() by Raw Kyle |
![]() |
![]() |
hand washing?
Started by Megan Megatoast |
17 Replies
12,033 Views |
![]() by William |
![]() |
![]() |
How much ejaculation is healthful?
Started by White Tiger |
23 Replies
39,016 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
4,353 Views |
![]() by nurture |
|
![]() |
![]() |
Cod liver oil
Started by Diana |
7 Replies
5,599 Views |
![]() by Diana |
![]() |
![]() |
Interesting observation re meat in Africa
Started by Diana |
6 Replies
4,906 Views |
![]() by invisible |
![]() |
![]() |
African genesis
Started by William |
4 Replies
4,002 Views |
![]() by invisible |
![]() |
![]() |
11 Replies
7,185 Views |
![]() by RawZi |
|
![]() |
![]() |
Porridge was eaten 100,000 years ago
Started by Nation |
3 Replies
4,543 Views |
![]() by TylerDurden |
![]() |
![]() |
23 Replies
11,270 Views |
![]() by raw |
|
![]() |
![]() |
0 Replies
2,700 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Eat healthy, eat fast food!
Started by Nicola |
18 Replies
15,999 Views |
![]() by TylerDurden |
![]() |
![]() |
Before Bed-time
Started by miles |
23 Replies
14,719 Views |
![]() by TylerDurden |
![]() |
![]() |
29 Replies
18,617 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Batman diet
Started by aunaturale |
12 Replies
12,684 Views |
![]() by roony |
![]() |
![]() |
16 Replies
12,481 Views |
![]() by RawZi |
|
![]() |
![]() |
Probiotics?
Started by aunaturale |
9 Replies
7,148 Views |
![]() by Nation |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll