/* * 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 111 Guests are viewing this board. | ||||
![]() |
![]() |
28 Replies
19,548 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
37 Replies
19,495 Views |
![]() by laterade |
|
![]() |
![]() |
35 Replies
19,429 Views |
![]() by political atheist |
|
![]() |
![]() |
Are there "healthy and unhealthy foods"?
Started by TylerDurden « 1 2 » |
30 Replies
19,394 Views |
![]() by surfsteve |
![]() |
![]() |
25 Replies
19,328 Views |
![]() by van |
|
![]() |
![]() |
Sour meat?
Started by Caveman |
5 Replies
19,319 Views |
![]() by sabertooth |
![]() |
![]() |
29 Replies
19,224 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
28 Replies
19,212 Views |
![]() by Dorothy |
|
![]() |
![]() |
Importance of variety in animal foods
Started by LePatron7 |
24 Replies
19,208 Views |
![]() by RogueFarmer |
![]() |
![]() |
25 Replies
19,137 Views |
![]() by raw-al |
|
![]() |
![]() |
37 Replies
19,090 Views |
![]() by Bacchal |
|
![]() |
![]() |
21 Replies
19,024 Views |
![]() by jessica |
|
![]() |
![]() |
25 Replies
18,993 Views |
![]() by LePatron7 |
|
![]() |
![]() |
30 Replies
18,886 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
37 Replies
18,864 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
28 Replies
18,852 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
26 Replies
18,802 Views |
![]() by AlexWulf |
|
![]() |
![]() |
30 Replies
18,799 Views |
![]() by Jackaroo |
|
![]() |
![]() |
40 Replies
18,792 Views |
![]() by kurite |
|
![]() |
![]() |
Lean Times
Started by sabertooth « 1 2 » |
29 Replies
18,691 Views |
![]() by Grey-Cup |
![]() |
![]() |
40 Replies
18,672 Views |
![]() by NEUROSPORT |
|
![]() |
![]() |
Chelation therapy using DMSA / ALA
Started by Michael |
14 Replies
18,635 Views |
![]() by raw-al |
![]() |
![]() |
25 Replies
18,610 Views |
![]() by William |
|
![]() |
![]() |
Eating Raw Animal Foods in public
Started by goodsamaritan « 1 2 » |
30 Replies
18,607 Views |
![]() by RawZi |
![]() |
![]() |
29 Replies
18,586 Views |
![]() by raw-al |
|
![]() |
![]() |
29 Replies
18,366 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
37 Replies
18,346 Views |
![]() by Dorothy |
|
![]() |
![]() |
I did it and Im scared...
Started by achillezzz « 1 2 » |
32 Replies
18,341 Views |
![]() by CitrusHigh |
![]() |
![]() |
38 Replies
18,277 Views |
![]() by djr_81 |
|
![]() |
![]() |
31 Replies
18,174 Views |
![]() by Hannibal |
|
![]() |
![]() |
Raw sardines?
Started by spitfiredd1 « 1 2 » |
25 Replies
18,162 Views |
![]() by svrn |
![]() |
![]() |
Organs in fermenting milk
Started by Polyvore |
18 Replies
18,155 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
I'm new - my body led me here...
Started by spicegirl_0101 « 1 2 » |
38 Replies
18,145 Views |
![]() by svrn |
![]() |
![]() |
24 Replies
18,135 Views |
![]() by laterade |
|
![]() |
![]() |
Homemade Oyster Sauce??
Started by Tsurugi_Oni |
21 Replies
18,002 Views |
![]() by RawZi |
![]() |
![]() |
31 Replies
17,960 Views |
![]() by avalon |
|
![]() |
![]() |
Tea?
Started by yon yonson « 1 2 » |
26 Replies
17,948 Views |
![]() by RawZi |
![]() |
![]() |
32 Replies
17,897 Views |
![]() by Alan |
|
![]() |
![]() |
Anarcho-primitivism
Started by yon yonson |
23 Replies
17,864 Views |
![]() by Raw Kyle |
![]() |
![]() |
32 Replies
17,810 Views |
![]() by svrn |
|
![]() |
![]() |
brain size
Started by MaximilianKohler « 1 2 » |
30 Replies
17,793 Views |
![]() by sabertooth |
![]() |
![]() |
Shelf Life of Bone Marrow?
Started by Chris |
14 Replies
17,720 Views |
![]() by jessica |
![]() |
![]() |
Brushing your teeth
Started by A_Tribe_Called_Paleo « 1 2 » |
26 Replies
17,678 Views |
![]() by svrn |
![]() |
![]() |
39 Replies
17,677 Views |
![]() by svrn |
|
![]() |
![]() |
34 Replies
17,667 Views |
![]() by edmon171 |
|
![]() |
![]() |
25 Replies
17,482 Views |
![]() by Charlie4444 |
|
![]() |
![]() |
26 Replies
17,468 Views |
![]() by Bacchal |
|
![]() |
![]() |
26 Replies
17,436 Views |
![]() by van |
|
![]() |
![]() |
Mucous??
Started by boxcarguy07 |
23 Replies
17,359 Views |
![]() by michaelwh |
![]() |
![]() |
41 Replies
17,353 Views |
![]() by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll