/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 53 Guests are viewing this board. | ||||
![]() |
![]() |
Is Corn somewhat Paleo?
Started by King Salmon |
18 Replies
30,344 Views |
![]() by Iguana |
![]() |
![]() |
8 Replies
5,323 Views |
![]() by TylerDurden |
|
![]() |
![]() |
150 Replies
72,054 Views |
![]() by raw-al |
|
![]() |
![]() |
2 Replies
2,692 Views |
![]() by raw-al |
|
![]() |
![]() |
48 Replies
23,782 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
9 Replies
8,292 Views |
![]() by letifer |
|
![]() |
![]() |
6 Replies
4,944 Views |
![]() by Polyvore |
|
![]() |
![]() |
18 Replies
11,731 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Is salami raw?
Started by Stancel |
15 Replies
15,211 Views |
![]() by yon yonson |
![]() |
![]() |
Is stopping menstruation good or bad?
Started by majormark |
13 Replies
8,124 Views |
![]() by RawZi |
![]() |
![]() |
Is there anything wrong with wine?
Started by achillezzz « 1 2 » |
49 Replies
29,671 Views |
![]() by laterade |
![]() |
![]() |
27 Replies
14,979 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
2,492 Views |
![]() by TylerDurden |
|
![]() |
![]() |
48 Replies
30,626 Views |
![]() by svrn |
|
![]() |
![]() |
JAMES HOLMES is schizophrenic?
Started by raw |
23 Replies
14,338 Views |
![]() by sabertooth |
![]() |
![]() |
Japan has highest Stomach Cancer rates
Started by vernon |
18 Replies
26,255 Views |
![]() by tding |
![]() |
![]() |
4 Replies
4,417 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Junk food eating contest
Started by TylerDurden |
0 Replies
2,008 Views |
![]() by TylerDurden |
![]() |
![]() |
Junk food increases risk of allergies
Started by TylerDurden |
0 Replies
2,287 Views |
![]() by TylerDurden |
![]() |
![]() |
Junk Food study
Started by TylerDurden |
2 Replies
2,722 Views |
![]() by cherimoya_kid |
![]() |
![]() |
0 Replies
2,123 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Just an interesting article
Started by kurite |
1 Replies
2,474 Views |
![]() by goodsamaritan |
![]() |
![]() |
14 Replies
8,809 Views |
![]() by chucky |
|
![]() |
![]() |
2 Replies
3,112 Views |
![]() by majormark |
|
![]() |
![]() |
1 Replies
2,810 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
13 Replies
9,971 Views |
![]() by KD |
|
![]() |
![]() |
3 Replies
3,207 Views |
![]() by raw-al |
|
![]() |
![]() |
23 Replies
12,067 Views |
![]() by Hans89 |
|
![]() |
![]() |
Kombucha tea anyone?
Started by HIT_it_RAW |
23 Replies
15,660 Views |
![]() by eveheart |
![]() |
![]() |
13 Replies
5,631 Views |
![]() by ys |
|
![]() |
![]() |
2 Replies
2,769 Views |
![]() by dariorpl |
|
![]() |
![]() |
6 Replies
4,273 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,631 Views |
![]() by TylerDurden |
|
![]() |
![]() |
26 Replies
14,787 Views |
![]() by svrn |
|
![]() |
![]() |
legalization of raw dairy
Started by a87.pal |
7 Replies
5,570 Views |
![]() by Raw Kyle |
![]() |
![]() |
Let us talk about more minerals
Started by raw |
21 Replies
10,887 Views |
![]() by Joy2012 |
![]() |
![]() |
0 Replies
2,027 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
40 Replies
22,935 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Liquid Smoke?
Started by kurite |
4 Replies
5,551 Views |
![]() by Josh |
![]() |
![]() |
0 Replies
2,210 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Lithium and lifespan
Started by TylerDurden |
3 Replies
3,353 Views |
![]() by Löwenherz |
![]() |
![]() |
Liver and glandular supplement?
Started by alycia |
6 Replies
5,863 Views |
![]() by Josh |
![]() |
![]() |
1 Replies
2,572 Views |
![]() by carnivore |
|
![]() |
![]() |
Long Pig Article
Started by TylerDurden |
3 Replies
3,225 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,629 Views |
![]() by aginghippie |
|
![]() |
![]() |
Long-Time Vegetarians may Have Altered DNA
Started by raw-al |
0 Replies
2,212 Views |
![]() by raw-al |
![]() |
![]() |
3 Replies
6,604 Views |
![]() by avalon |
|
![]() |
![]() |
6 Replies
4,662 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
0 Replies
2,445 Views |
![]() by Aura |
|
![]() |
![]() |
15 Replies
9,544 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll