/* * 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 39 Guests are viewing this board. | ||||
![]() |
![]() |
0 Replies
17,142 Views |
![]() by TylerDurden |
|
![]() |
![]() |
List of other RVAF diet forums
Started by TylerDurden |
0 Replies
12,855 Views |
![]() by TylerDurden |
![]() |
![]() |
My One Ring
Started by dsohei |
0 Replies
3,065 Views |
![]() by dsohei |
![]() |
![]() |
MOVED: Garbage and abuse
Started by Iguana |
0 Replies
2,918 Views |
![]() by Iguana |
![]() |
![]() |
Health blog I been working on.
Started by DeadRamones |
0 Replies
3,631 Views |
![]() by DeadRamones |
![]() |
![]() |
Mario's Journal
Started by Mario |
1 Replies
3,788 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hawaiian Raw Foodist
Started by TylerDurden |
1 Replies
3,498 Views |
![]() by PaleoPhil |
![]() |
![]() |
nummytummy's journey to raw paleo
Started by nummytummy |
1 Replies
4,673 Views |
![]() by Isthmus |
![]() |
![]() |
Not a good way to start a journal
Started by RogueFarmer |
1 Replies
3,718 Views |
![]() by RogueFarmer |
![]() |
![]() |
I want to live again
Started by blobby |
1 Replies
5,692 Views |
![]() by eveheart |
![]() |
![]() |
Farm journal
Started by RogueFarmer |
1 Replies
6,682 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Robin Love's journal
Started by Robinlove |
1 Replies
4,466 Views |
![]() by Dingeman |
![]() |
![]() |
Fenrir's Journal
Started by Fenrir |
1 Replies
9,345 Views |
![]() by a_real_man |
![]() |
![]() |
High liver smell taste and effects
Started by PaganGoy |
1 Replies
5,623 Views |
![]() by thehadezb |
![]() |
![]() |
Dan's Low Carb Journey
Started by dmoffett |
1 Replies
4,135 Views |
![]() by TylerDurden |
![]() |
![]() |
Journal by James
Started by jms8220 |
2 Replies
5,025 Views |
![]() by jms8220 |
![]() |
![]() |
2 Replies
3,765 Views |
![]() by Ioanna |
|
![]() |
![]() |
From Paleo to Keto Diet?
Started by miranota23 |
2 Replies
5,133 Views |
![]() by miranota23 |
![]() |
![]() |
My experience on RPD
Started by Nation |
2 Replies
3,483 Views |
![]() by goodsamaritan |
![]() |
![]() |
Mark's food log
Started by MarkC |
2 Replies
4,185 Views |
![]() by MarkC |
![]() |
![]() |
All Moderators
Started by William |
2 Replies
3,899 Views |
![]() by goodsamaritan |
![]() |
![]() |
Aco's journal
Started by aco |
2 Replies
5,645 Views |
![]() by MarkR |
![]() |
![]() |
Sile's Journal
Started by Aaaaaa |
3 Replies
4,822 Views |
![]() by RawZi |
![]() |
![]() |
Continue Dairy.
Started by Continue |
3 Replies
5,610 Views |
![]() by Continue |
![]() |
![]() |
Luming's Recovery
Started by Luming Zhou |
3 Replies
3,787 Views |
![]() by Nation |
![]() |
![]() |
Aura´s Rewilding Journey
Started by Aura |
3 Replies
7,919 Views |
![]() by Iguana |
![]() |
![]() |
Herd pix
Started by RogueFarmer |
3 Replies
8,335 Views |
![]() by goodsamaritan |
![]() |
![]() |
Scott's Instincto Thing
Started by scottjmurray |
3 Replies
7,572 Views |
![]() by scottjmurray |
![]() |
![]() |
Sabertooths wildlife sanctuary
Started by sabertooth |
3 Replies
5,197 Views |
![]() by sabertooth |
![]() |
![]() |
PrimaD's journal
Started by primaD |
3 Replies
4,418 Views |
![]() by JaX |
![]() |
![]() |
Protoject's journal
Started by protoject |
3 Replies
4,532 Views |
![]() by protoject |
![]() |
![]() |
Craig's Lab Results
Started by xylothrill |
3 Replies
5,575 Views |
![]() by Metallica |
![]() |
![]() |
4 Replies
4,779 Views |
![]() by Cosmo |
|
![]() |
![]() |
4 Replies
5,161 Views |
![]() by zbr5 |
|
![]() |
![]() |
ForTheHunt's experimental journal.
Started by ForTheHunt |
4 Replies
4,959 Views |
![]() by goodsamaritan |
![]() |
![]() |
DaBoss88's Journal
Started by LePatron7 |
4 Replies
6,230 Views |
![]() by LePatron7 |
![]() |
![]() |
Dingeman's Journal
Started by Dingeman |
4 Replies
11,868 Views |
![]() by Susadele |
![]() |
![]() |
Haai - Journal
Started by Haai |
5 Replies
8,800 Views |
![]() by Haai |
![]() |
![]() |
Fat & lazy -> Healthy & energized!
Started by Warrior Woman |
5 Replies
5,832 Views |
![]() by livingthelife |
![]() |
![]() |
5 Replies
6,420 Views |
![]() by PaganGoy |
|
![]() |
![]() |
5 Replies
13,444 Views |
![]() by political atheist |
|
![]() |
![]() |
5 Replies
9,532 Views |
![]() by mango |
|
![]() |
![]() |
Megan: Ex-vegan, Ex-sheep
Started by Megan Megatoast |
5 Replies
5,664 Views |
![]() by miles |
![]() |
![]() |
Journal of an acne and dermatitis sufferer
Started by tests |
6 Replies
9,693 Views |
![]() by cherimoya_kid |
![]() |
![]() |
cbj's change your life
Started by cjb |
6 Replies
6,346 Views |
![]() by cjb |
![]() |
![]() |
A hunter's journal
Started by alphagruis |
6 Replies
4,900 Views |
![]() by Roselene |
![]() |
![]() |
All illness and raw paleo
Started by LePatron7 |
6 Replies
8,451 Views |
![]() by LePatron7 |
![]() |
![]() |
Sally's food-fitness journal
Started by Sally S. |
7 Replies
6,746 Views |
![]() by Sally S. |
![]() |
![]() |
Raw and Musings and Random Cosas
Started by brokenbox |
7 Replies
8,126 Views |
![]() by brokenbox |
![]() |
![]() |
Andvanwyk's journal
Started by andvanwyk |
8 Replies
8,686 Views |
![]() by andvanwyk |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll