/* * 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 116 Guests are viewing this board. | ||||
![]() |
![]() |
Muktuk Photo
Started by TylerDurden |
1 Replies
3,976 Views |
![]() by William |
![]() |
![]() |
2 Replies
4,208 Views |
![]() by William |
|
![]() |
![]() |
RE: True carpaccio or 'parma' beef
Started by Michael |
0 Replies
3,640 Views |
![]() by Michael |
![]() |
![]() |
Liver smoothies
Started by phatdave |
11 Replies
13,350 Views |
![]() by RawZi |
![]() |
![]() |
Favorite raw paleo recipe
Started by Haida |
8 Replies
10,682 Views |
![]() by Sully |
![]() |
![]() |
raw elk dolma
Started by jessica |
0 Replies
3,751 Views |
![]() by jessica |
![]() |
![]() |
83 Replies
51,581 Views |
![]() by lex_rooker |
|
![]() |
![]() |
Question on $10 jerky drier dimensions
Started by Josh |
6 Replies
8,143 Views |
![]() by lex_rooker |
![]() |
![]() |
13 Replies
14,197 Views |
![]() by phatdave |
|
![]() |
![]() |
Gravlax
Started by Satya |
3 Replies
5,049 Views |
![]() by phatdave |
![]() |
![]() |
todays lunch
Started by unthink |
2 Replies
4,435 Views |
![]() by unthink |
![]() |
![]() |
two sauces! berbere and sriracha
Started by Raw Kyle |
3 Replies
6,154 Views |
![]() by Raw Kyle |
![]() |
![]() |
Raw Mustard-Making
Started by TylerDurden |
0 Replies
3,854 Views |
![]() by TylerDurden |
![]() |
![]() |
8 Replies
11,459 Views |
![]() by primaD |
|
![]() |
![]() |
Coconut Banana meat pudding
Started by Somnambulist |
0 Replies
3,826 Views |
![]() by Somnambulist |
![]() |
![]() |
Beef Loin & Horseradish Sauce
Started by Satya |
3 Replies
5,594 Views |
![]() by Satya |
![]() |
![]() |
Kimchi
Started by Satya |
15 Replies
15,317 Views |
![]() by seesawsemiology |
![]() |
![]() |
Korean Yukhoe
Started by Satya |
7 Replies
7,569 Views |
![]() by Raw Kyle |
![]() |
![]() |
Killer Middle Eastern Feast!
Started by Satya |
7 Replies
6,269 Views |
![]() by Raw Kyle |
![]() |
![]() |
Is it Sushi or Sashimi?
Started by Satya |
11 Replies
13,910 Views |
![]() by Raw Kyle |
![]() |
![]() |
Hot Pink Sauerkraut!
Started by Satya |
22 Replies
15,248 Views |
![]() by Satya |
![]() |
![]() |
Real Texas Chili
Started by Satya |
9 Replies
8,380 Views |
![]() by Satya |
![]() |
![]() |
Traditional Korean Meal
Started by Satya |
9 Replies
8,811 Views |
![]() by Satya |
![]() |
![]() |
Paleo limeade
Started by boxcarguy07 |
7 Replies
9,187 Views |
![]() by Guittarman03 |
![]() |
![]() |
Post Meal Pics!
Started by Sully |
9 Replies
10,080 Views |
![]() by CarnĂ¡l |
![]() |
![]() |
requests for Satya
Started by Raw Kyle |
8 Replies
6,960 Views |
![]() by Raw Kyle |
![]() |
![]() |
Breaded Meat (not literally)
Started by Sully |
2 Replies
4,479 Views |
![]() by Sully |
![]() |
![]() |
I am a cactus farmer
Started by Satya |
10 Replies
11,978 Views |
![]() by TruthHunter |
![]() |
![]() |
Wonderful Raw Desert (dessert)
Started by Sully |
15 Replies
15,937 Views |
![]() by Sully |
![]() |
![]() |
Simple Snack: Banana and Flax
Started by Sully |
0 Replies
4,645 Views |
![]() by Sully |
![]() |
![]() |
Satya's Salsa!
Started by Satya |
11 Replies
20,460 Views |
![]() by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll