/* * 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 23 Guests are viewing this board. | ||||
![]() |
![]() |
Goat or Cow Milk?
Started by Raw in Florida « 1 2 » |
26 Replies
26,724 Views |
![]() by svrn |
![]() |
![]() |
26 Replies
21,470 Views |
![]() by political atheist |
|
![]() |
![]() |
27 Replies
14,801 Views |
![]() by fireball |
|
![]() |
![]() |
Need Ideas for Shaving Cream Please
Started by Raw in Florida « 1 2 » |
27 Replies
22,545 Views |
![]() by Wolf |
![]() |
![]() |
moldy berries
Started by MaximilianKohler « 1 2 » |
27 Replies
18,452 Views |
![]() by raw-al |
![]() |
![]() |
28 Replies
22,776 Views |
![]() by moringa82 |
|
![]() |
![]() |
28 Replies
26,531 Views |
![]() by van |
|
![]() |
![]() |
28 Replies
29,625 Views |
![]() by political atheist |
|
![]() |
![]() |
28 Replies
18,913 Views |
![]() by reyyzl |
|
![]() |
![]() |
29 Replies
22,105 Views |
![]() by ClearSight |
|
![]() |
![]() |
Is it just me or is Aajonus not looking so good?
Started by Fermenter Zym « 1 2 » |
29 Replies
17,381 Views |
![]() by PaleoPhil |
![]() |
![]() |
100% Primal Diet Bodybuilding
Started by Parker Reid « 1 2 » |
29 Replies
43,540 Views |
![]() by svrn |
![]() |
![]() |
29 Replies
21,955 Views |
![]() by surfsteve |
|
![]() |
![]() |
29 Replies
15,684 Views |
![]() by van |
|
![]() |
![]() |
Raw milk
Started by ForTheHunt « 1 2 » |
30 Replies
22,295 Views |
![]() by KD |
![]() |
![]() |
30 Replies
23,089 Views |
![]() by raw-al |
|
![]() |
![]() |
Is high meat more effective than probiotic supplements?
Started by goodsamaritan « 1 2 » |
32 Replies
26,285 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
32 Replies
22,128 Views |
![]() by raw |
|
![]() |
![]() |
34 Replies
17,417 Views |
![]() by Dorothy |
|
![]() |
![]() |
Aajonus' real name and PhD?
Started by Projectile Vomit « 1 2 » |
34 Replies
22,788 Views |
![]() by reyyzl |
![]() |
![]() |
38 Replies
27,809 Views |
![]() by rawdog |
|
![]() |
![]() |
38 Replies
23,543 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Does Aajonus mention eating back fat?
Started by goodsamaritan « 1 2 » |
38 Replies
19,799 Views |
![]() by RawZi |
![]() |
![]() |
39 Replies
38,785 Views |
![]() by FRANCIS HOWARD BOND |
|
![]() |
![]() |
39 Replies
27,781 Views |
![]() by yon yonson |
|
![]() |
![]() |
39 Replies
25,390 Views |
![]() by Dingeman |
|
![]() |
![]() |
Primal Diet and Magnesium
Started by Fermenter Zym « 1 2 » |
42 Replies
40,022 Views |
![]() by TheHealingForests |
![]() |
![]() |
Lactose intolerance
Started by MoonStalkeR « 1 2 » |
46 Replies
23,221 Views |
![]() by TylerDurden |
![]() |
![]() |
47 Replies
38,955 Views |
![]() by carnivore |
|
![]() |
![]() |
Dairy free Primal Diet?
Started by goodsamaritan « 1 2 » |
47 Replies
29,606 Views |
![]() by Waldpfad |
![]() |
![]() |
No Water
Started by DopeDivinity « 1 2 » |
48 Replies
35,081 Views |
![]() by dariorpl |
![]() |
![]() |
48 Replies
36,064 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
48 Replies
26,816 Views |
![]() by TylerDurden |
|
![]() |
![]() |
50 Replies
52,722 Views |
![]() by Alamadri |
|
![]() |
![]() |
50 Replies
23,444 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
52 Replies
32,139 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
53 Replies
35,422 Views |
![]() by Sol^Sa |
|
![]() |
![]() |
54 Replies
59,712 Views |
![]() by political atheist |
|
![]() |
![]() |
Questions about Primal Diet
Started by CarnivorousApe « 1 2 3 » |
54 Replies
56,068 Views |
![]() by svrn |
![]() |
![]() |
Raw Cheese: Types, Brands, Sources, Reviews
Started by goodsamaritan « 1 2 3 » |
56 Replies
31,458 Views |
![]() by Dr. D |
![]() |
![]() |
57 Replies
41,326 Views |
![]() by reyyzl |
|
![]() |
![]() |
62 Replies
64,398 Views |
![]() by Milk Man |
|
![]() |
![]() |
77 Replies
44,392 Views |
![]() by TylerDurden |
|
![]() |
![]() |
112 Replies
62,985 Views |
![]() by ciervo-chaman |
|
![]() |
![]() |
125 Replies
77,441 Views |
![]() by svrn |
|
![]() |
![]() |
226 Replies
172,395 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll