/* * 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 82 Guests are viewing this board. | ||||
![]() |
![]() |
Pro-cooking claim
Started by TylerDurden |
0 Replies
2,894 Views |
![]() by TylerDurden |
![]() |
![]() |
Vegan babies
Started by TylerDurden |
1 Replies
2,728 Views |
![]() by TylerDurden |
![]() |
![]() |
Fermenting rice?
Started by surfsteve |
2 Replies
3,271 Views |
![]() by surfsteve |
![]() |
![]() |
Nightshade Sensitivity
Started by surfsteve |
8 Replies
5,857 Views |
![]() by surfsteve |
![]() |
![]() |
Vegan converts to rawpalaeo
Started by TylerDurden |
1 Replies
2,493 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,905 Views |
![]() by surfsteve |
|
![]() |
![]() |
0 Replies
2,328 Views |
![]() by TylerDurden |
|
![]() |
![]() |
7 Replies
4,495 Views |
![]() by madnomad |
|
![]() |
![]() |
Vegans declare WAR!
Started by TylerDurden |
2 Replies
2,994 Views |
![]() by van |
![]() |
![]() |
royal jelly
Started by jamiekelly |
5 Replies
6,214 Views |
![]() by Grey-Cup |
![]() |
![]() |
My Cheat Weekend!
Started by surfsteve |
2 Replies
2,925 Views |
![]() by PaganGoy |
![]() |
![]() |
0 Replies
2,240 Views |
![]() by PaganGoy |
|
![]() |
![]() |
8 Replies
5,594 Views |
![]() by van |
|
![]() |
![]() |
The least toxic (cooked) junk food.
Started by PaganGoy |
18 Replies
10,121 Views |
![]() by van |
![]() |
![]() |
Vegetarian study
Started by TylerDurden |
0 Replies
2,143 Views |
![]() by TylerDurden |
![]() |
![]() |
Fruitarian testimony
Started by TylerDurden |
0 Replies
2,380 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
4,321 Views |
![]() by sabertooth |
|
![]() |
![]() |
Fruitarian testimony
Started by TylerDurden |
8 Replies
4,925 Views |
![]() by van |
![]() |
![]() |
0 Replies
2,238 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Urine therapy
Started by TylerDurden |
0 Replies
2,339 Views |
![]() by TylerDurden |
![]() |
![]() |
20 Replies
9,227 Views |
![]() by Grey-Cup |
|
![]() |
![]() |
23 Replies
14,199 Views |
![]() by TylerDurden |
|
![]() |
![]() |
what is that?
Started by Raulik |
6 Replies
4,394 Views |
![]() by sabertooth |
![]() |
![]() |
3 Replies
3,365 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
3,827 Views |
![]() by Raulik |
|
![]() |
![]() |
Fruitarian interview in DM
Started by TylerDurden |
11 Replies
8,115 Views |
![]() by dair |
![]() |
![]() |
Vegan Freelee again in the news...
Started by TylerDurden |
2 Replies
4,564 Views |
![]() by dariorpl |
![]() |
![]() |
Freelee update
Started by TylerDurden |
1 Replies
2,907 Views |
![]() by dariorpl |
![]() |
![]() |
30 Replies
24,916 Views |
![]() by IronDog |
|
![]() |
![]() |
If Poem Parodies
Started by TylerDurden |
3 Replies
18,759 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
2,751 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Japan has highest Stomach Cancer rates
Started by vernon |
18 Replies
26,236 Views |
![]() by tding |
![]() |
![]() |
Pro-salt article
Started by TylerDurden |
5 Replies
4,784 Views |
![]() by surfsteve |
![]() |
![]() |
Alcohol may be palaeo after all
Started by TylerDurden |
3 Replies
4,507 Views |
![]() by dair |
![]() |
![]() |
Paleo vs Vegan LIVE debate.
Started by Sully |
2 Replies
3,752 Views |
![]() by sabertooth |
![]() |
![]() |
Vegans and some of their weird ideas
Started by dair |
0 Replies
2,636 Views |
![]() by dair |
![]() |
![]() |
Are teas out?
Started by Robinlove |
12 Replies
7,418 Views |
![]() by magnificant8 |
![]() |
![]() |
tenderising meat with KOJI?
Started by dair |
1 Replies
2,955 Views |
![]() by jibrael |
![]() |
![]() |
6 Replies
4,633 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Cassia VS Ceylon cinnamon
Started by surfsteve |
15 Replies
8,828 Views |
![]() by cobalamin |
![]() |
![]() |
Frankenfoods
Started by raw-al |
5 Replies
4,916 Views |
![]() by cobalamin |
![]() |
![]() |
0 Replies
2,631 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Second look at sports supplements
Started by surfsteve |
8 Replies
5,544 Views |
![]() by RogueFarmer |
![]() |
![]() |
20 Replies
9,393 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,818 Views |
![]() by cobalamin |
|
![]() |
![]() |
0 Replies
2,500 Views |
![]() by cobalamin |
|
![]() |
![]() |
1 Replies
2,877 Views |
![]() by cobalamin |
|
![]() |
![]() |
1 Replies
2,786 Views |
![]() by surfsteve |
|
![]() |
![]() |
Calcium fluoride discussion
Started by rook1899 |
22 Replies
11,107 Views |
![]() by surfsteve |
![]() |
![]() |
3 Replies
4,630 Views |
![]() by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll