/* * 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 96 Guests are viewing this board. | ||||
![]() |
![]() |
Stamp Out GMOs
Started by raw-al |
5 Replies
5,232 Views |
![]() by the PresiDenT |
![]() |
![]() |
Bread Was Around 30,000 Years Ago
Started by Defiled |
13 Replies
7,912 Views |
![]() by miles |
![]() |
![]() |
47 Replies
19,919 Views |
![]() by raw-al |
|
![]() |
![]() |
19 Replies
10,162 Views |
![]() by donrad |
|
![]() |
![]() |
8 Replies
6,487 Views |
![]() by pioneer |
|
![]() |
![]() |
12 Replies
10,348 Views |
![]() by donrad |
|
![]() |
![]() |
1 Replies
2,836 Views |
![]() by ster546464@yahoo.co.uk |
|
![]() |
![]() |
To thrust or To Throw
Started by Sully |
16 Replies
11,993 Views |
![]() by Sully |
![]() |
![]() |
to the dairy haters
Started by ster546464@yahoo.co.uk |
15 Replies
9,168 Views |
![]() by ster546464@yahoo.co.uk |
![]() |
![]() |
Irritating internet laws
Started by TylerDurden « 1 2 » |
33 Replies
24,444 Views |
![]() by the PresiDenT |
![]() |
![]() |
1 Replies
3,660 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Do you live forever on a rpd?
Started by Paleo Donk « 1 2 3 » |
53 Replies
31,585 Views |
![]() by RawZi |
![]() |
![]() |
16 Replies
13,703 Views |
![]() by infinitenexus |
|
![]() |
![]() |
After sex?
Started by DeadRamones « 1 2 3 » |
58 Replies
38,210 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
3,319 Views |
![]() by RomanK |
|
![]() |
![]() |
5 Replies
6,710 Views |
![]() by miles |
|
![]() |
![]() |
53 Replies
27,970 Views |
![]() by raw-al |
|
![]() |
![]() |
Please guys, Pioneer needs your help!
Started by pioneer |
23 Replies
13,643 Views |
![]() by pioneer |
![]() |
![]() |
36 Replies
18,211 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
The Great Fish Oil Experiment
Started by chucky |
2 Replies
4,073 Views |
![]() by chucky |
![]() |
![]() |
5 Replies
4,456 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
fake meat within 5 years
Started by sabertooth |
9 Replies
6,974 Views |
![]() by sabertooth |
![]() |
![]() |
bob becks blood purifier.
Started by pioneer |
15 Replies
10,323 Views |
![]() by pioneer |
![]() |
![]() |
1 Replies
3,719 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Bioengineered herpes is good for you
Started by sabertooth « 1 2 » |
33 Replies
18,879 Views |
![]() by Raw Kyle |
![]() |
![]() |
3 Replies
3,636 Views |
![]() by miles |
|
![]() |
![]() |
10 Replies
7,623 Views |
![]() by Wolf |
|
![]() |
![]() |
6 Replies
6,032 Views |
![]() by raw-al |
|
![]() |
![]() |
34 Replies
17,444 Views |
![]() by Wolf |
|
![]() |
![]() |
BP oil spill and fish eating?
Started by Wolf |
8 Replies
6,796 Views |
![]() by TylerDurden |
![]() |
![]() |
Any Publishers out there?
Started by pioneer |
4 Replies
3,798 Views |
![]() by raw-al |
![]() |
![]() |
Expensive tissue theory
Started by kurite |
6 Replies
5,846 Views |
![]() by raw-al |
![]() |
![]() |
Fat Trimmings better than Suet?
Started by King Salmon |
10 Replies
7,752 Views |
![]() by PaleoPhil |
![]() |
![]() |
Best Veggies to Juice?
Started by Coatue |
6 Replies
4,103 Views |
![]() by TylerDurden |
![]() |
![]() |
fruit vs cooked root vegetables
Started by invisible |
5 Replies
4,655 Views |
![]() by cliff |
![]() |
![]() |
25 Replies
17,908 Views |
![]() by King Salmon |
|
![]() |
![]() |
delete post
Started by 00nightstorm |
2 Replies
2,853 Views |
![]() by goodsamaritan |
![]() |
![]() |
Why Can't We Be Friends?
Started by rawlion |
14 Replies
9,556 Views |
![]() by raw-al |
![]() |
![]() |
25 Replies
15,068 Views |
![]() by Sully |
|
![]() |
![]() |
10 Replies
7,323 Views |
![]() by raw-al |
|
![]() |
![]() |
6 Replies
4,222 Views |
![]() by Michael |
|
![]() |
![]() |
27 Replies
15,408 Views |
![]() by raw-al |
|
![]() |
![]() |
Tapeworms, what to do
Started by Arthas_ |
6 Replies
5,928 Views |
![]() by kurite |
![]() |
![]() |
GMO pigs and Salmon
Started by raw-al |
1 Replies
3,086 Views |
![]() by sabertooth |
![]() |
![]() |
Do we have a natural instinct to kill?
Started by kurite |
11 Replies
8,624 Views |
![]() by pioneer |
![]() |
![]() |
4 Replies
4,672 Views |
![]() by cliff |
|
![]() |
![]() |
48 Replies
24,740 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
When Did Cooking Start?
Started by PaleoPhil |
15 Replies
10,242 Views |
![]() by Dwight |
![]() |
![]() |
where to get fresh meat
Started by pioneer |
2 Replies
4,107 Views |
![]() by Wolf |
![]() |
![]() |
142 Replies
84,154 Views |
![]() by djr_81 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll