/* * 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 62 Guests are viewing this board. | ||||
![]() |
![]() |
Vegetarian study
Started by TylerDurden |
0 Replies
2,154 Views |
![]() by TylerDurden |
![]() |
![]() |
GMO Companys play dirty
Started by intouchwithinstinct |
0 Replies
2,310 Views |
![]() by intouchwithinstinct |
![]() |
![]() |
MOVED: ReWild Yourself! Magazine
Started by goodsamaritan |
0 Replies
2,306 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
2,649 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Another ex-vegan guru
Started by TylerDurden |
0 Replies
3,811 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,021 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,207 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New Cordain Newsletter
Started by TylerDurden |
1 Replies
3,201 Views |
![]() by van |
![]() |
![]() |
Intensive farming in the UK.
Started by TylerDurden |
1 Replies
2,798 Views |
![]() by nummi |
![]() |
![]() |
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,598 Views |
![]() by Löwenherz |
![]() |
![]() |
1 Replies
3,584 Views |
![]() by the6step |
|
![]() |
![]() |
1 Replies
2,614 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Ancient Astronauts, Sumeria, tracking our origins
Started by CitrusHigh |
1 Replies
3,242 Views |
![]() by Rawr |
![]() |
![]() |
Are Humans Wired to Sleep Twice a Day?
Started by raw-al |
1 Replies
2,698 Views |
![]() by Raww |
![]() |
![]() |
Research into reducing salt-levels
Started by TylerDurden |
1 Replies
2,131 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
2,212 Views |
![]() by Dorothy |
|
![]() |
![]() |
Just an interesting article
Started by kurite |
1 Replies
2,475 Views |
![]() by goodsamaritan |
![]() |
![]() |
hrt for men
Started by ruffiny89 |
1 Replies
2,570 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,633 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
3,250 Views |
![]() by RomanK |
|
![]() |
![]() |
1 Replies
7,093 Views |
![]() by ys |
|
![]() |
![]() |
Parathyroid issues
Started by TylerDurden |
1 Replies
4,404 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
3,013 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
14,546 Views |
![]() by norawnofun |
|
![]() |
![]() |
1 Replies
2,249 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Fermented foods article
Started by TylerDurden |
1 Replies
2,825 Views |
![]() by Iguana |
![]() |
![]() |
Dr Oz flipflops on organics
Started by raw-al |
1 Replies
2,158 Views |
![]() by LePatron7 |
![]() |
![]() |
Fast food far worse than thought
Started by TylerDurden |
1 Replies
2,667 Views |
![]() by NuclearKnight |
![]() |
![]() |
Interesting cooked-palaeo blog
Started by TylerDurden |
1 Replies
3,625 Views |
![]() by invisible |
![]() |
![]() |
Humanexperiment blog
Started by Nicola |
1 Replies
2,953 Views |
![]() by TylerDurden |
![]() |
![]() |
Mr. Universe turns 100
Started by storm |
1 Replies
2,225 Views |
![]() by cherimoya_kid |
![]() |
![]() |
GMO pigs and Salmon
Started by raw-al |
1 Replies
3,019 Views |
![]() by sabertooth |
![]() |
![]() |
Best online store to buy from opinions
Started by misswoo |
1 Replies
2,973 Views |
![]() by KD |
![]() |
![]() |
1 Replies
3,668 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Beyond Broccoli
Started by Projectile Vomit |
1 Replies
2,765 Views |
![]() by Polyvore |
![]() |
![]() |
Shea butter - edible?
Started by Haai |
1 Replies
4,175 Views |
![]() by TylerDurden |
![]() |
![]() |
The future of fast food article
Started by TylerDurden |
1 Replies
2,633 Views |
![]() by Dorothy |
![]() |
![]() |
1 Replies
2,983 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Cholesterol Down, Vitamin D up in Eggs
Started by Coatue |
1 Replies
2,904 Views |
![]() by sabertooth |
![]() |
![]() |
Slacktivism Thread
Started by CitrusHigh |
1 Replies
2,061 Views |
![]() by CitrusHigh |
![]() |
![]() |
1 Replies
2,456 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Roots/ Tubers
Started by miles |
1 Replies
2,302 Views |
![]() by yuli |
![]() |
![]() |
1 Replies
2,774 Views |
![]() by freezerburn |
|
![]() |
![]() |
1 Replies
3,152 Views |
![]() by yuli |
|
![]() |
![]() |
Dean Cain Agent of Satan!
Started by TylerDurden |
1 Replies
4,321 Views |
![]() by William |
![]() |
![]() |
Dr. Clark Parasite Cleanse
Started by Coatue |
1 Replies
3,166 Views |
![]() by MaximilianKohler |
![]() |
![]() |
Dr.Sebi
Started by blackrhino |
1 Replies
3,834 Views |
![]() by TylerDurden |
![]() |
![]() |
A pro-cooking article-
Started by TylerDurden |
1 Replies
3,889 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
2,176 Views |
![]() by raw-al |
|
![]() |
![]() |
Low carb is stupid.
Started by SuperInfinity |
1 Replies
3,722 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll