/* * 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 156 Guests are viewing this board. | ||||
![]() |
![]() |
31 Replies
19,484 Views |
![]() by TylerDurden |
|
![]() |
![]() |
37 Replies
19,448 Views |
![]() by laterade |
|
![]() |
![]() |
35 Replies
19,371 Views |
![]() by political atheist |
|
![]() |
![]() |
Are there "healthy and unhealthy foods"?
Started by TylerDurden « 1 2 » |
30 Replies
19,329 Views |
![]() by surfsteve |
![]() |
![]() |
Sour meat?
Started by Caveman |
5 Replies
19,313 Views |
![]() by sabertooth |
![]() |
![]() |
25 Replies
19,283 Views |
![]() by van |
|
![]() |
![]() |
29 Replies
19,177 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Importance of variety in animal foods
Started by LePatron7 |
24 Replies
19,147 Views |
![]() by RogueFarmer |
![]() |
![]() |
28 Replies
19,145 Views |
![]() by Dorothy |
|
![]() |
![]() |
25 Replies
19,078 Views |
![]() by raw-al |
|
![]() |
![]() |
37 Replies
19,037 Views |
![]() by Bacchal |
|
![]() |
![]() |
21 Replies
19,009 Views |
![]() by jessica |
|
![]() |
![]() |
25 Replies
18,935 Views |
![]() by LePatron7 |
|
![]() |
![]() |
30 Replies
18,837 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
37 Replies
18,824 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
28 Replies
18,803 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
30 Replies
18,765 Views |
![]() by Jackaroo |
|
![]() |
![]() |
26 Replies
18,761 Views |
![]() by AlexWulf |
|
![]() |
![]() |
40 Replies
18,747 Views |
![]() by kurite |
|
![]() |
![]() |
Lean Times
Started by sabertooth « 1 2 » |
29 Replies
18,661 Views |
![]() by Grey-Cup |
![]() |
![]() |
40 Replies
18,632 Views |
![]() by NEUROSPORT |
|
![]() |
![]() |
Chelation therapy using DMSA / ALA
Started by Michael |
14 Replies
18,608 Views |
![]() by raw-al |
![]() |
![]() |
25 Replies
18,582 Views |
![]() by William |
|
![]() |
![]() |
Eating Raw Animal Foods in public
Started by goodsamaritan « 1 2 » |
30 Replies
18,564 Views |
![]() by RawZi |
![]() |
![]() |
29 Replies
18,559 Views |
![]() by raw-al |
|
![]() |
![]() |
29 Replies
18,339 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
37 Replies
18,304 Views |
![]() by Dorothy |
|
![]() |
![]() |
I did it and Im scared...
Started by achillezzz « 1 2 » |
32 Replies
18,285 Views |
![]() by CitrusHigh |
![]() |
![]() |
38 Replies
18,223 Views |
![]() by djr_81 |
|
![]() |
![]() |
Raw sardines?
Started by spitfiredd1 « 1 2 » |
25 Replies
18,143 Views |
![]() by svrn |
![]() |
![]() |
Organs in fermenting milk
Started by Polyvore |
18 Replies
18,134 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
31 Replies
18,133 Views |
![]() by Hannibal |
|
![]() |
![]() |
I'm new - my body led me here...
Started by spicegirl_0101 « 1 2 » |
38 Replies
18,096 Views |
![]() by svrn |
![]() |
![]() |
24 Replies
18,089 Views |
![]() by laterade |
|
![]() |
![]() |
Homemade Oyster Sauce??
Started by Tsurugi_Oni |
21 Replies
17,990 Views |
![]() by RawZi |
![]() |
![]() |
31 Replies
17,925 Views |
![]() by avalon |
|
![]() |
![]() |
Tea?
Started by yon yonson « 1 2 » |
26 Replies
17,917 Views |
![]() by RawZi |
![]() |
![]() |
32 Replies
17,844 Views |
![]() by Alan |
|
![]() |
![]() |
Anarcho-primitivism
Started by yon yonson |
23 Replies
17,830 Views |
![]() by Raw Kyle |
![]() |
![]() |
32 Replies
17,759 Views |
![]() by svrn |
|
![]() |
![]() |
brain size
Started by MaximilianKohler « 1 2 » |
30 Replies
17,743 Views |
![]() by sabertooth |
![]() |
![]() |
Shelf Life of Bone Marrow?
Started by Chris |
14 Replies
17,707 Views |
![]() by jessica |
![]() |
![]() |
39 Replies
17,649 Views |
![]() by svrn |
|
![]() |
![]() |
Brushing your teeth
Started by A_Tribe_Called_Paleo « 1 2 » |
26 Replies
17,644 Views |
![]() by svrn |
![]() |
![]() |
34 Replies
17,617 Views |
![]() by edmon171 |
|
![]() |
![]() |
26 Replies
17,432 Views |
![]() by Bacchal |
|
![]() |
![]() |
26 Replies
17,426 Views |
![]() by van |
|
![]() |
![]() |
25 Replies
17,398 Views |
![]() by Charlie4444 |
|
![]() |
![]() |
Mucous??
Started by boxcarguy07 |
23 Replies
17,342 Views |
![]() by michaelwh |
![]() |
![]() |
All Suet Is WHITE?
Started by Sully |
23 Replies
17,299 Views |
![]() by Josh |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll