/* * 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 37 Guests are viewing this board. | ||||
![]() |
![]() |
Suggestion to all members
Started by TylerDurden |
1 Replies
3,249 Views |
![]() by Raw Kyle |
![]() |
![]() |
Sea Salt Brands
Started by Sully |
9 Replies
13,290 Views |
![]() by avalon |
![]() |
![]() |
25 Replies
25,339 Views |
![]() by Metallica |
|
![]() |
![]() |
7 Replies
8,318 Views |
![]() by Sully |
|
![]() |
![]() |
Soaking Nuts/Seeds To Activate Enzymes
Started by Sully |
10 Replies
12,362 Views |
![]() by Sully |
![]() |
![]() |
natural vs. technology
Started by Raw Kyle |
11 Replies
9,516 Views |
![]() by Realist |
![]() |
![]() |
Bananas and Farting
Started by Sully |
7 Replies
8,536 Views |
![]() by Raw Kyle |
![]() |
![]() |
Fat ratio experiment
Started by lex_rooker « 1 2 3 » |
54 Replies
30,036 Views |
![]() by Raw Kyle |
![]() |
![]() |
How much energy do you consume at home?
Started by Satya |
2 Replies
3,927 Views |
![]() by Satya |
![]() |
![]() |
publishable research
Started by Raw Kyle |
7 Replies
6,432 Views |
![]() by lex_rooker |
![]() |
![]() |
4 Replies
5,229 Views |
![]() by wodgina |
|
![]() |
![]() |
1 Replies
6,908 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Chimpanzees
Started by Sully |
17 Replies
12,928 Views |
![]() by Raw Kyle |
![]() |
![]() |
Raw Meats: Are some harmful?
Started by Sully |
6 Replies
6,553 Views |
![]() by Sully |
![]() |
![]() |
Moldy fruit?
Started by boxcarguy07 |
5 Replies
6,744 Views |
![]() by goodsamaritan |
![]() |
![]() |
Raw Animal Food Documentary
Started by TylerDurden |
1 Replies
3,714 Views |
![]() by xylothrill |
![]() |
![]() |
Raw Eggwhites Indigestable?
Started by Sully |
3 Replies
5,207 Views |
![]() by Sully |
![]() |
![]() |
MOVED: Is Cooked Food Poison?
Started by TylerDurden |
0 Replies
3,449 Views |
![]() by TylerDurden |
![]() |
![]() |
ground meat?
Started by Raw Kyle |
6 Replies
5,845 Views |
![]() by Nicola |
![]() |
![]() |
dry aged?
Started by TheWayCreatesTheWarrior |
3 Replies
4,544 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
dental amalgams
Started by Metallica |
2 Replies
3,980 Views |
![]() by TylerDurden |
![]() |
![]() |
Breaking the Sugar addiction
Started by Metallica |
12 Replies
9,652 Views |
![]() by Metallica |
![]() |
![]() |
How bad is 170 degrees F?
Started by Satya |
6 Replies
5,627 Views |
![]() by xylothrill |
![]() |
![]() |
Manuka Honey
Started by Metallica |
1 Replies
4,031 Views |
![]() by Raw Kyle |
![]() |
![]() |
do you cycle meat?
Started by TheWayCreatesTheWarrior |
10 Replies
7,985 Views |
![]() by Nicola |
![]() |
![]() |
probiotics
Started by TheWayCreatesTheWarrior |
3 Replies
4,257 Views |
![]() by Metallica |
![]() |
![]() |
Young children and meat
Started by Metallica |
11 Replies
8,942 Views |
![]() by xylothrill |
![]() |
![]() |
Dr. Mercola's Nutritional Typing
Started by Metallica |
1 Replies
4,869 Views |
![]() by Raw Kyle |
![]() |
![]() |
juicer?
Started by TheWayCreatesTheWarrior |
5 Replies
6,591 Views |
![]() by Raw Kyle |
![]() |
![]() |
questions from a friend
Started by Raw Kyle |
5 Replies
6,307 Views |
![]() by Justin |
![]() |
![]() |
Salt and water retention
Started by carnivore |
7 Replies
7,658 Views |
![]() by Nicola |
![]() |
![]() |
raw shellfish
Started by Raw Kyle |
2 Replies
4,651 Views |
![]() by Satya |
![]() |
![]() |
5 Replies
7,321 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Detox
Started by Craig |
3 Replies
12,972 Views |
![]() by wodgina |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll