/* * 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 96 Guests are viewing this board. | ||||
![]() |
![]() |
11 Replies
7,096 Views |
![]() by William |
|
![]() |
![]() |
45 Replies
32,638 Views |
![]() by TylerDurden |
|
![]() |
![]() |
8 Replies
13,280 Views |
![]() by roony |
|
![]() |
![]() |
Probiotics?
Started by aunaturale |
9 Replies
7,344 Views |
![]() by Nation |
![]() |
![]() |
16 Replies
12,790 Views |
![]() by RawZi |
|
![]() |
![]() |
Batman diet
Started by aunaturale |
12 Replies
12,885 Views |
![]() by roony |
![]() |
![]() |
29 Replies
19,018 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Before Bed-time
Started by miles |
23 Replies
15,008 Views |
![]() by TylerDurden |
![]() |
![]() |
Eat healthy, eat fast food!
Started by Nicola |
18 Replies
16,219 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,762 Views |
![]() by TylerDurden |
|
![]() |
![]() |
23 Replies
11,558 Views |
![]() by raw |
|
![]() |
![]() |
Porridge was eaten 100,000 years ago
Started by Nation |
3 Replies
4,626 Views |
![]() by TylerDurden |
![]() |
![]() |
11 Replies
7,377 Views |
![]() by RawZi |
|
![]() |
![]() |
African genesis
Started by William |
4 Replies
4,104 Views |
![]() by invisible |
![]() |
![]() |
Interesting observation re meat in Africa
Started by Diana |
6 Replies
5,019 Views |
![]() by invisible |
![]() |
![]() |
Cod liver oil
Started by Diana |
7 Replies
5,739 Views |
![]() by Diana |
![]() |
![]() |
5 Replies
4,449 Views |
![]() by nurture |
|
![]() |
![]() |
How much ejaculation is healthful?
Started by White Tiger |
23 Replies
39,474 Views |
![]() by TylerDurden |
![]() |
![]() |
hand washing?
Started by Megan Megatoast |
17 Replies
12,355 Views |
![]() by William |
![]() |
![]() |
Plastics component affects intestine
Started by Nicola |
14 Replies
8,341 Views |
![]() by Raw Kyle |
![]() |
![]() |
Interesting youtube video
Started by TylerDurden |
4 Replies
3,907 Views |
![]() by goodsamaritan |
![]() |
![]() |
Interesting cooked-palaeo blog
Started by TylerDurden |
1 Replies
3,689 Views |
![]() by invisible |
![]() |
![]() |
42 Replies
23,387 Views |
![]() by TylerDurden |
|
![]() |
![]() |
11 Replies
8,111 Views |
![]() by alphagruis |
|
![]() |
![]() |
New Cordain Newsletter
Started by TylerDurden |
1 Replies
3,266 Views |
![]() by van |
![]() |
![]() |
Humanexperiment blog
Started by Nicola |
1 Replies
3,018 Views |
![]() by TylerDurden |
![]() |
![]() |
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,733 Views |
![]() by PaleoPhil |
![]() |
![]() |
primal/paleo -> vegan?
Started by livingthelife |
2 Replies
4,415 Views |
![]() by TylerDurden |
![]() |
![]() |
84 Replies
41,512 Views |
![]() by Michael |
|
![]() |
![]() |
79 Replies
48,299 Views |
![]() by William |
|
![]() |
![]() |
28 Replies
17,850 Views |
![]() by invisible |
|
![]() |
![]() |
Raw vegans vs. raw paleo
Started by pookietooth « 1 2 » |
26 Replies
27,493 Views |
![]() by DeadRamones |
![]() |
![]() |
Re: Zero-carb trials re well-done meats
Started by Nicola |
12 Replies
9,005 Views |
![]() by PaleoPhil |
![]() |
![]() |
17 Replies
10,697 Views |
![]() by livingthelife |
|
![]() |
![]() |
Safe Sterilization
Started by protoject |
10 Replies
7,609 Views |
![]() by djr_81 |
![]() |
![]() |
eating raw veg and cooked meat together
Started by uph0 |
4 Replies
4,496 Views |
![]() by Guittarman03 |
![]() |
![]() |
22 Replies
18,052 Views |
![]() by TylerDurden |
|
![]() |
![]() |
92 Replies
47,322 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Stephen Morrissey - vegan
Started by lex_rooker |
4 Replies
5,116 Views |
![]() by TylerDurden |
![]() |
![]() |
49 Replies
24,133 Views |
![]() by DeadRamones |
|
![]() |
![]() |
What's so great about AV?
Started by DeadRamones |
10 Replies
7,838 Views |
![]() by TylerDurden |
![]() |
![]() |
Qesem Cave Site New Finding
Started by PaleoPhil |
7 Replies
7,384 Views |
![]() by PaleoPhil |
![]() |
![]() |
Ardipithecus
Started by Guittarman03 |
1 Replies
3,460 Views |
![]() by PaleoPhil |
![]() |
![]() |
37 Replies
21,827 Views |
![]() by William |
|
![]() |
![]() |
39 Replies
20,312 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Hoodia
Started by DeadRamones |
6 Replies
5,490 Views |
![]() by DeadRamones |
![]() |
![]() |
33 Replies
24,870 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Low carb diet slows down the aging process
Started by carnivore |
9 Replies
6,413 Views |
![]() by TylerDurden |
![]() |
![]() |
The Hibernation® Diet
Started by rawlion |
23 Replies
14,212 Views |
![]() by rawlion |
![]() |
![]() |
20 Replies
12,815 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll