/* * 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 79 Guests are viewing this board. | ||||
![]() |
![]() |
Plastic bottles topic
Started by TylerDurden |
2 Replies
4,606 Views |
![]() by TylerDurden |
![]() |
![]() |
Pro-cooking claim
Started by TylerDurden |
0 Replies
2,992 Views |
![]() by TylerDurden |
![]() |
![]() |
Vegan babies
Started by TylerDurden |
1 Replies
2,827 Views |
![]() by TylerDurden |
![]() |
![]() |
Fermenting rice?
Started by surfsteve |
2 Replies
3,375 Views |
![]() by surfsteve |
![]() |
![]() |
Nightshade Sensitivity
Started by surfsteve |
8 Replies
6,083 Views |
![]() by surfsteve |
![]() |
![]() |
Vegan converts to rawpalaeo
Started by TylerDurden |
1 Replies
2,592 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,024 Views |
![]() by surfsteve |
|
![]() |
![]() |
0 Replies
2,420 Views |
![]() by TylerDurden |
|
![]() |
![]() |
7 Replies
4,676 Views |
![]() by madnomad |
|
![]() |
![]() |
Vegans declare WAR!
Started by TylerDurden |
2 Replies
3,118 Views |
![]() by van |
![]() |
![]() |
royal jelly
Started by jamiekelly |
5 Replies
6,434 Views |
![]() by Grey-Cup |
![]() |
![]() |
My Cheat Weekend!
Started by surfsteve |
2 Replies
3,073 Views |
![]() by PaganGoy |
![]() |
![]() |
0 Replies
2,335 Views |
![]() by PaganGoy |
|
![]() |
![]() |
8 Replies
5,814 Views |
![]() by van |
|
![]() |
![]() |
The least toxic (cooked) junk food.
Started by PaganGoy |
18 Replies
10,494 Views |
![]() by van |
![]() |
![]() |
Vegetarian study
Started by TylerDurden |
0 Replies
2,235 Views |
![]() by TylerDurden |
![]() |
![]() |
Fruitarian testimony
Started by TylerDurden |
0 Replies
2,488 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
4,538 Views |
![]() by sabertooth |
|
![]() |
![]() |
Fruitarian testimony
Started by TylerDurden |
8 Replies
5,226 Views |
![]() by van |
![]() |
![]() |
0 Replies
2,346 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Urine therapy
Started by TylerDurden |
0 Replies
2,433 Views |
![]() by TylerDurden |
![]() |
![]() |
20 Replies
9,546 Views |
![]() by Grey-Cup |
|
![]() |
![]() |
23 Replies
14,577 Views |
![]() by TylerDurden |
|
![]() |
![]() |
what is that?
Started by Raulik |
6 Replies
4,577 Views |
![]() by sabertooth |
![]() |
![]() |
3 Replies
3,485 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
3,996 Views |
![]() by Raulik |
|
![]() |
![]() |
Fruitarian interview in DM
Started by TylerDurden |
11 Replies
8,364 Views |
![]() by dair |
![]() |
![]() |
Vegan Freelee again in the news...
Started by TylerDurden |
2 Replies
4,672 Views |
![]() by dariorpl |
![]() |
![]() |
Freelee update
Started by TylerDurden |
1 Replies
3,001 Views |
![]() by dariorpl |
![]() |
![]() |
30 Replies
25,473 Views |
![]() by IronDog |
|
![]() |
![]() |
If Poem Parodies
Started by TylerDurden |
3 Replies
18,930 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
2,840 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Japan has highest Stomach Cancer rates
Started by vernon |
18 Replies
26,519 Views |
![]() by tding |
![]() |
![]() |
Pro-salt article
Started by TylerDurden |
5 Replies
4,920 Views |
![]() by surfsteve |
![]() |
![]() |
Alcohol may be palaeo after all
Started by TylerDurden |
3 Replies
4,611 Views |
![]() by dair |
![]() |
![]() |
Paleo vs Vegan LIVE debate.
Started by Sully |
2 Replies
3,851 Views |
![]() by sabertooth |
![]() |
![]() |
Vegans and some of their weird ideas
Started by dair |
0 Replies
2,724 Views |
![]() by dair |
![]() |
![]() |
Are teas out?
Started by Robinlove |
12 Replies
7,643 Views |
![]() by magnificant8 |
![]() |
![]() |
tenderising meat with KOJI?
Started by dair |
1 Replies
3,057 Views |
![]() by jibrael |
![]() |
![]() |
6 Replies
4,809 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Cassia VS Ceylon cinnamon
Started by surfsteve |
15 Replies
9,115 Views |
![]() by cobalamin |
![]() |
![]() |
Frankenfoods
Started by raw-al |
5 Replies
5,073 Views |
![]() by cobalamin |
![]() |
![]() |
0 Replies
2,716 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Second look at sports supplements
Started by surfsteve |
8 Replies
5,735 Views |
![]() by RogueFarmer |
![]() |
![]() |
20 Replies
9,774 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,913 Views |
![]() by cobalamin |
|
![]() |
![]() |
0 Replies
2,596 Views |
![]() by cobalamin |
|
![]() |
![]() |
1 Replies
2,968 Views |
![]() by cobalamin |
|
![]() |
![]() |
1 Replies
2,884 Views |
![]() by surfsteve |
|
![]() |
![]() |
Calcium fluoride discussion
Started by rook1899 |
22 Replies
11,479 Views |
![]() by surfsteve |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll