/* * 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 128 Guests are viewing this board. | ||||
![]() |
![]() |
Best piece of meat I have eaten
Started by PaleoKyle |
3 Replies
4,727 Views |
![]() by goodsamaritan |
![]() |
![]() |
Cancer, mental outlook and survival rates
Started by wodgina |
1 Replies
4,394 Views |
![]() by goodsamaritan |
![]() |
![]() |
Suggestion to all members
Started by TylerDurden |
1 Replies
3,740 Views |
![]() by Raw Kyle |
![]() |
![]() |
Sea Salt Brands
Started by Sully |
9 Replies
14,362 Views |
![]() by avalon |
![]() |
![]() |
25 Replies
27,622 Views |
![]() by Metallica |
|
![]() |
![]() |
7 Replies
9,257 Views |
![]() by Sully |
|
![]() |
![]() |
Soaking Nuts/Seeds To Activate Enzymes
Started by Sully |
10 Replies
13,898 Views |
![]() by Sully |
![]() |
![]() |
natural vs. technology
Started by Raw Kyle |
11 Replies
10,851 Views |
![]() by Realist |
![]() |
![]() |
Bananas and Farting
Started by Sully |
7 Replies
9,667 Views |
![]() by Raw Kyle |
![]() |
![]() |
Fat ratio experiment
Started by lex_rooker « 1 2 3 » |
54 Replies
35,639 Views |
![]() by Raw Kyle |
![]() |
![]() |
How much energy do you consume at home?
Started by Satya |
2 Replies
4,733 Views |
![]() by Satya |
![]() |
![]() |
publishable research
Started by Raw Kyle |
7 Replies
7,251 Views |
![]() by lex_rooker |
![]() |
![]() |
4 Replies
5,915 Views |
![]() by wodgina |
|
![]() |
![]() |
1 Replies
7,394 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Chimpanzees
Started by Sully |
17 Replies
14,681 Views |
![]() by Raw Kyle |
![]() |
![]() |
Raw Meats: Are some harmful?
Started by Sully |
6 Replies
7,965 Views |
![]() by Sully |
![]() |
![]() |
Moldy fruit?
Started by boxcarguy07 |
5 Replies
7,695 Views |
![]() by goodsamaritan |
![]() |
![]() |
Raw Animal Food Documentary
Started by TylerDurden |
1 Replies
4,208 Views |
![]() by xylothrill |
![]() |
![]() |
Raw Eggwhites Indigestable?
Started by Sully |
3 Replies
5,833 Views |
![]() by Sully |
![]() |
![]() |
MOVED: Is Cooked Food Poison?
Started by TylerDurden |
0 Replies
3,875 Views |
![]() by TylerDurden |
![]() |
![]() |
ground meat?
Started by Raw Kyle |
6 Replies
6,788 Views |
![]() by Nicola |
![]() |
![]() |
dry aged?
Started by TheWayCreatesTheWarrior |
3 Replies
5,189 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
dental amalgams
Started by Metallica |
2 Replies
4,541 Views |
![]() by TylerDurden |
![]() |
![]() |
Breaking the Sugar addiction
Started by Metallica |
12 Replies
10,855 Views |
![]() by Metallica |
![]() |
![]() |
How bad is 170 degrees F?
Started by Satya |
6 Replies
6,306 Views |
![]() by xylothrill |
![]() |
![]() |
Manuka Honey
Started by Metallica |
1 Replies
4,484 Views |
![]() by Raw Kyle |
![]() |
![]() |
do you cycle meat?
Started by TheWayCreatesTheWarrior |
10 Replies
9,144 Views |
![]() by Nicola |
![]() |
![]() |
probiotics
Started by TheWayCreatesTheWarrior |
3 Replies
4,958 Views |
![]() by Metallica |
![]() |
![]() |
Young children and meat
Started by Metallica |
11 Replies
10,302 Views |
![]() by xylothrill |
![]() |
![]() |
Dr. Mercola's Nutritional Typing
Started by Metallica |
1 Replies
5,433 Views |
![]() by Raw Kyle |
![]() |
![]() |
juicer?
Started by TheWayCreatesTheWarrior |
5 Replies
7,432 Views |
![]() by Raw Kyle |
![]() |
![]() |
questions from a friend
Started by Raw Kyle |
5 Replies
7,128 Views |
![]() by Justin |
![]() |
![]() |
Salt and water retention
Started by carnivore |
7 Replies
8,801 Views |
![]() by Nicola |
![]() |
![]() |
raw shellfish
Started by Raw Kyle |
2 Replies
5,376 Views |
![]() by Satya |
![]() |
![]() |
5 Replies
8,678 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Detox
Started by Craig |
3 Replies
14,112 Views |
![]() by wodgina |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll