/* * 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 101 Guests are viewing this board. | ||||
![]() |
![]() |
33 Replies
22,535 Views |
![]() by Metallica |
|
![]() |
![]() |
33 Replies
17,215 Views |
![]() by Hannibal |
|
![]() |
![]() |
The Addictive Origins of Agriculture
Started by Projectile Vomit « 1 2 » |
33 Replies
16,792 Views |
![]() by Projectile Vomit |
![]() |
![]() |
33 Replies
16,160 Views |
![]() by svrn |
|
![]() |
![]() |
33 Replies
20,690 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Is wild food actually healthier?
Started by AnopsStudier « 1 2 » |
33 Replies
16,408 Views |
![]() by jessica |
![]() |
![]() |
33 Replies
15,200 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
32 Replies
17,897 Views |
![]() by Alan |
|
![]() |
![]() |
32 Replies
17,810 Views |
![]() by svrn |
|
![]() |
![]() |
Tick Bite
Started by Fermenter Zym « 1 2 » |
32 Replies
17,203 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
15,387 Views |
![]() by Sully |
|
![]() |
![]() |
32 Replies
17,024 Views |
![]() by laterade |
|
![]() |
![]() |
32 Replies
20,022 Views |
![]() by grasspunk |
|
![]() |
![]() |
One meal a day
Started by technosmith « 1 2 » |
32 Replies
19,703 Views |
![]() by wodgina |
![]() |
![]() |
I did it and Im scared...
Started by achillezzz « 1 2 » |
32 Replies
18,340 Views |
![]() by CitrusHigh |
![]() |
![]() |
32 Replies
22,484 Views |
![]() by svrn |
|
![]() |
![]() |
32 Replies
20,293 Views |
![]() by KD |
|
![]() |
![]() |
32 Replies
13,365 Views |
![]() by berten76 |
|
![]() |
![]() |
32 Replies
51,579 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Now that Aajonus has passed away...
Started by Spirit Bear « 1 2 » |
32 Replies
15,605 Views |
![]() by svrn |
![]() |
![]() |
Very Low Carb - Low Temp - Increasing Carbs?
Started by technosmith « 1 2 » |
32 Replies
14,120 Views |
![]() by technosmith |
![]() |
![]() |
A.L.F. Where to find them and how to get them?
Started by intouchwithinstinct « 1 2 » |
31 Replies
23,236 Views |
![]() by bravo8 |
![]() |
![]() |
31 Replies
18,174 Views |
![]() by Hannibal |
|
![]() |
![]() |
31 Replies
17,960 Views |
![]() by avalon |
|
![]() |
![]() |
31 Replies
16,912 Views |
![]() by magnetic |
|
![]() |
![]() |
Plantains vs. Bananas?
Started by deletemyaccount « 1 2 » |
31 Replies
23,360 Views |
![]() by Iguana |
![]() |
![]() |
31 Replies
14,710 Views |
![]() by moringa82 |
|
![]() |
![]() |
31 Replies
17,020 Views |
![]() by eveheart |
|
![]() |
![]() |
Reccomend a good natural deoderant
Started by Raw in Florida « 1 2 » |
31 Replies
16,389 Views |
![]() by KD |
![]() |
![]() |
31 Replies
22,163 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
31 Replies
13,680 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
31 Replies
19,564 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
20,848 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
15,347 Views |
![]() by a_real_man |
|
![]() |
![]() |
Poll: Egg White/Yolk Preference
Started by Fermenter Zym « 1 2 » |
30 Replies
14,573 Views |
![]() by PaleoPhil |
![]() |
![]() |
30 Replies
22,550 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
30 Replies
15,577 Views |
![]() by RawZi |
|
![]() |
![]() |
spider veins on raw paleo
Started by littleElefant « 1 2 » |
30 Replies
19,914 Views |
![]() by Sully |
![]() |
![]() |
30 Replies
28,870 Views |
![]() by Poncho |
|
![]() |
![]() |
Are there "healthy and unhealthy foods"?
Started by TylerDurden « 1 2 » |
30 Replies
19,392 Views |
![]() by surfsteve |
![]() |
![]() |
30 Replies
18,886 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
30 Replies
17,317 Views |
![]() by Michael |
|
![]() |
![]() |
30 Replies
18,798 Views |
![]() by Jackaroo |
|
![]() |
![]() |
30 Replies
12,863 Views |
![]() by Dorothy |
|
![]() |
![]() |
30 Replies
20,686 Views |
![]() by FRANCIS HOWARD BOND |
|
![]() |
![]() |
brain size
Started by MaximilianKohler « 1 2 » |
30 Replies
17,793 Views |
![]() by sabertooth |
![]() |
![]() |
30 Replies
12,975 Views |
![]() by Spirit Bear |
|
![]() |
![]() |
Eating Raw Animal Foods in public
Started by goodsamaritan « 1 2 » |
30 Replies
18,607 Views |
![]() by RawZi |
![]() |
![]() |
29 Replies
19,223 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
29 Replies
13,630 Views |
![]() by roony |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll