/* * 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 10 Guests are viewing this board. | ||||
![]() |
![]() |
Muktuk Photo
Started by TylerDurden |
1 Replies
3,761 Views |
![]() by William |
![]() |
![]() |
2 Replies
3,945 Views |
![]() by William |
|
![]() |
![]() |
RE: True carpaccio or 'parma' beef
Started by Michael |
0 Replies
3,425 Views |
![]() by Michael |
![]() |
![]() |
Liver smoothies
Started by phatdave |
11 Replies
12,855 Views |
![]() by RawZi |
![]() |
![]() |
Favorite raw paleo recipe
Started by Haida |
8 Replies
10,303 Views |
![]() by Sully |
![]() |
![]() |
raw elk dolma
Started by jessica |
0 Replies
3,514 Views |
![]() by jessica |
![]() |
![]() |
83 Replies
48,438 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Question on $10 jerky drier dimensions
Started by Josh |
6 Replies
7,705 Views |
![]() by lex_rooker |
![]() |
![]() |
13 Replies
13,615 Views |
![]() by phatdave |
|
![]() |
![]() |
Gravlax
Started by Satya |
3 Replies
4,809 Views |
![]() by phatdave |
![]() |
![]() |
todays lunch
Started by unthink |
2 Replies
4,178 Views |
![]() by unthink |
![]() |
![]() |
two sauces! berbere and sriracha
Started by Raw Kyle |
3 Replies
5,842 Views |
![]() by Raw Kyle |
![]() |
![]() |
Raw Mustard-Making
Started by TylerDurden |
0 Replies
3,642 Views |
![]() by TylerDurden |
![]() |
![]() |
8 Replies
10,796 Views |
![]() by primaD |
|
![]() |
![]() |
Coconut Banana meat pudding
Started by Somnambulist |
0 Replies
3,533 Views |
![]() by Somnambulist |
![]() |
![]() |
Beef Loin & Horseradish Sauce
Started by Satya |
3 Replies
5,221 Views |
![]() by Satya |
![]() |
![]() |
Kimchi
Started by Satya |
15 Replies
14,451 Views |
![]() by seesawsemiology |
![]() |
![]() |
Korean Yukhoe
Started by Satya |
7 Replies
7,031 Views |
![]() by Raw Kyle |
![]() |
![]() |
Killer Middle Eastern Feast!
Started by Satya |
7 Replies
5,837 Views |
![]() by Raw Kyle |
![]() |
![]() |
Is it Sushi or Sashimi?
Started by Satya |
11 Replies
13,144 Views |
![]() by Raw Kyle |
![]() |
![]() |
Hot Pink Sauerkraut!
Started by Satya |
22 Replies
14,262 Views |
![]() by Satya |
![]() |
![]() |
Real Texas Chili
Started by Satya |
9 Replies
7,954 Views |
![]() by Satya |
![]() |
![]() |
Traditional Korean Meal
Started by Satya |
9 Replies
8,334 Views |
![]() by Satya |
![]() |
![]() |
Paleo limeade
Started by boxcarguy07 |
7 Replies
8,469 Views |
![]() by Guittarman03 |
![]() |
![]() |
Post Meal Pics!
Started by Sully |
9 Replies
9,427 Views |
![]() by CarnĂ¡l |
![]() |
![]() |
requests for Satya
Started by Raw Kyle |
8 Replies
6,520 Views |
![]() by Raw Kyle |
![]() |
![]() |
Breaded Meat (not literally)
Started by Sully |
2 Replies
4,222 Views |
![]() by Sully |
![]() |
![]() |
I am a cactus farmer
Started by Satya |
10 Replies
11,457 Views |
![]() by TruthHunter |
![]() |
![]() |
Wonderful Raw Desert (dessert)
Started by Sully |
15 Replies
15,223 Views |
![]() by Sully |
![]() |
![]() |
Simple Snack: Banana and Flax
Started by Sully |
0 Replies
4,052 Views |
![]() by Sully |
![]() |
![]() |
Satya's Salsa!
Started by Satya |
11 Replies
14,809 Views |
![]() by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll