/* * 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 11 Guests are viewing this board. | ||||
![]() |
![]() |
0 Replies
4,288 Views |
![]() by raw |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
4,302 Views |
![]() by Iguana |
![]() |
![]() |
1 Replies
4,344 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
4,397 Views |
![]() by svrn |
|
![]() |
![]() |
Non mainstream healing to be made illegal
Started by svrn |
6 Replies
4,398 Views |
![]() by svrn |
![]() |
![]() |
6 Replies
4,412 Views |
![]() by sabertooth |
|
![]() |
![]() |
Tick triggered red meat allergy Scare
Started by sabertooth |
3 Replies
4,426 Views |
![]() by dair |
![]() |
![]() |
0 Replies
4,435 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
3 Replies
4,449 Views |
![]() by eveheart |
|
![]() |
![]() |
Cordain Diabetes
Started by TylerDurden |
0 Replies
4,474 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
4,496 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
3 Replies
4,498 Views |
![]() by xylothrill |
|
![]() |
![]() |
Updated CleanTalk Anti Spam
Started by goodsamaritan |
4 Replies
4,510 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
4,525 Views |
![]() by Darwinian Fitness |
|
![]() |
![]() |
Kim Cohen interviews Jeff Slay
Started by davidg |
3 Replies
4,526 Views |
![]() by RawZi |
![]() |
![]() |
Plant toxins and Anti-nutrients
Started by Nicola |
1 Replies
4,545 Views |
![]() by xylothrill |
![]() |
![]() |
4 Replies
4,569 Views |
![]() by kurite |
|
![]() |
![]() |
Paleo Cow Re-introduced in Britain
Started by Satya |
4 Replies
4,592 Views |
![]() by goodsamaritan |
![]() |
![]() |
5 Replies
4,593 Views |
![]() by jessica |
|
![]() |
![]() |
5 Replies
4,595 Views |
![]() by Taz |
|
![]() |
![]() |
0 Replies
4,602 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
4,622 Views |
![]() by Josh |
|
![]() |
![]() |
7 Replies
4,667 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
"The Diet of The Mountain Men"
Started by jessica |
6 Replies
4,681 Views |
![]() by svrn |
![]() |
![]() |
6 Replies
4,725 Views |
![]() by Iguana |
|
![]() |
![]() |
Industrial hemp
Started by sabertooth |
5 Replies
4,733 Views |
![]() by jessica |
![]() |
![]() |
The Primal Parent
Started by CitrusHigh |
6 Replies
4,741 Views |
![]() by svrn |
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
4,769 Views |
![]() by CHK91 |
![]() |
![]() |
4 Replies
4,781 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
First Nations People Return to Their Native Diet (Video)
Started by Craig |
4 Replies
4,783 Views |
![]() by xylothrill |
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
4,826 Views |
![]() by laterade |
![]() |
![]() |
2 Replies
4,830 Views |
![]() by Inger |
|
![]() |
![]() |
5 Replies
4,846 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
4,857 Views |
![]() by AlphaCog |
|
![]() |
![]() |
5 Replies
4,866 Views |
![]() by subfarm |
|
![]() |
![]() |
Raw Paleo Community!!
Started by GaiaYoga Gardens |
6 Replies
4,904 Views |
![]() by GaiaYoga Gardens |
![]() |
![]() |
The Case of Monogamy
Started by goodsamaritan |
0 Replies
4,955 Views |
![]() by goodsamaritan |
![]() |
![]() |
6 Replies
4,986 Views |
![]() by Josh |
|
![]() |
![]() |
RAW Meat Eaters In China
Started by TylerDurden |
6 Replies
5,017 Views |
![]() by raw |
![]() |
![]() |
Another disturbing story
Started by pc701 |
8 Replies
5,030 Views |
![]() by William |
![]() |
![]() |
seaweed = not a plant
Started by rafonly |
3 Replies
5,031 Views |
![]() by rafonly |
![]() |
![]() |
Cordain Newsletter update
Started by TylerDurden |
0 Replies
5,128 Views |
![]() by TylerDurden |
![]() |
![]() |
Fruit And Animal Products Diet
Started by IonSurfer |
8 Replies
5,142 Views |
![]() by cherimoya_kid |
![]() |
![]() |
0 Replies
5,148 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
5,177 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
5,182 Views |
![]() by a_real_man |
|
![]() |
![]() |
4 Replies
5,190 Views |
![]() by Fenrir |
|
![]() |
![]() |
Experimenting with new hosting...
Started by goodsamaritan |
3 Replies
5,253 Views |
![]() by goodsamaritan |
![]() |
![]() |
6 Replies
5,257 Views |
![]() by sabertooth |
|
![]() |
![]() |
Poop burger
Started by sabertooth |
7 Replies
5,275 Views |
![]() by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll