/* * 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 131 Guests are viewing this board. | ||||
![]() |
![]() |
33 Replies
22,507 Views |
![]() by Metallica |
|
![]() |
![]() |
33 Replies
17,181 Views |
![]() by Hannibal |
|
![]() |
![]() |
The Addictive Origins of Agriculture
Started by Projectile Vomit « 1 2 » |
33 Replies
16,750 Views |
![]() by Projectile Vomit |
![]() |
![]() |
33 Replies
16,123 Views |
![]() by svrn |
|
![]() |
![]() |
33 Replies
20,642 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Is wild food actually healthier?
Started by AnopsStudier « 1 2 » |
33 Replies
16,384 Views |
![]() by jessica |
![]() |
![]() |
33 Replies
15,168 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
32 Replies
17,858 Views |
![]() by Alan |
|
![]() |
![]() |
32 Replies
17,768 Views |
![]() by svrn |
|
![]() |
![]() |
Tick Bite
Started by Fermenter Zym « 1 2 » |
32 Replies
17,157 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
15,363 Views |
![]() by Sully |
|
![]() |
![]() |
32 Replies
16,991 Views |
![]() by laterade |
|
![]() |
![]() |
32 Replies
19,996 Views |
![]() by grasspunk |
|
![]() |
![]() |
One meal a day
Started by technosmith « 1 2 » |
32 Replies
19,687 Views |
![]() by wodgina |
![]() |
![]() |
I did it and Im scared...
Started by achillezzz « 1 2 » |
32 Replies
18,296 Views |
![]() by CitrusHigh |
![]() |
![]() |
32 Replies
22,435 Views |
![]() by svrn |
|
![]() |
![]() |
32 Replies
20,264 Views |
![]() by KD |
|
![]() |
![]() |
32 Replies
13,338 Views |
![]() by berten76 |
|
![]() |
![]() |
32 Replies
51,466 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Now that Aajonus has passed away...
Started by Spirit Bear « 1 2 » |
32 Replies
15,570 Views |
![]() by svrn |
![]() |
![]() |
Very Low Carb - Low Temp - Increasing Carbs?
Started by technosmith « 1 2 » |
32 Replies
14,099 Views |
![]() by technosmith |
![]() |
![]() |
A.L.F. Where to find them and how to get them?
Started by intouchwithinstinct « 1 2 » |
31 Replies
23,205 Views |
![]() by bravo8 |
![]() |
![]() |
31 Replies
18,140 Views |
![]() by Hannibal |
|
![]() |
![]() |
31 Replies
17,927 Views |
![]() by avalon |
|
![]() |
![]() |
31 Replies
16,874 Views |
![]() by magnetic |
|
![]() |
![]() |
Plantains vs. Bananas?
Started by deletemyaccount « 1 2 » |
31 Replies
23,299 Views |
![]() by Iguana |
![]() |
![]() |
31 Replies
14,667 Views |
![]() by moringa82 |
|
![]() |
![]() |
31 Replies
16,980 Views |
![]() by eveheart |
|
![]() |
![]() |
Reccomend a good natural deoderant
Started by Raw in Florida « 1 2 » |
31 Replies
16,359 Views |
![]() by KD |
![]() |
![]() |
31 Replies
22,107 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
31 Replies
13,637 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
31 Replies
19,496 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
20,811 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
15,341 Views |
![]() by a_real_man |
|
![]() |
![]() |
Poll: Egg White/Yolk Preference
Started by Fermenter Zym « 1 2 » |
30 Replies
14,518 Views |
![]() by PaleoPhil |
![]() |
![]() |
30 Replies
22,526 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
30 Replies
15,559 Views |
![]() by RawZi |
|
![]() |
![]() |
spider veins on raw paleo
Started by littleElefant « 1 2 » |
30 Replies
19,869 Views |
![]() by Sully |
![]() |
![]() |
30 Replies
28,838 Views |
![]() by Poncho |
|
![]() |
![]() |
Are there "healthy and unhealthy foods"?
Started by TylerDurden « 1 2 » |
30 Replies
19,341 Views |
![]() by surfsteve |
![]() |
![]() |
30 Replies
18,848 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
30 Replies
17,296 Views |
![]() by Michael |
|
![]() |
![]() |
30 Replies
18,770 Views |
![]() by Jackaroo |
|
![]() |
![]() |
30 Replies
12,842 Views |
![]() by Dorothy |
|
![]() |
![]() |
30 Replies
20,647 Views |
![]() by FRANCIS HOWARD BOND |
|
![]() |
![]() |
brain size
Started by MaximilianKohler « 1 2 » |
30 Replies
17,760 Views |
![]() by sabertooth |
![]() |
![]() |
30 Replies
12,938 Views |
![]() by Spirit Bear |
|
![]() |
![]() |
Eating Raw Animal Foods in public
Started by goodsamaritan « 1 2 » |
30 Replies
18,565 Views |
![]() by RawZi |
![]() |
![]() |
29 Replies
19,183 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
29 Replies
13,603 Views |
![]() by roony |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll