/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 75 Guests are viewing this board. | ||||
![]() |
![]() |
cron-o-meter is amazing!
Started by kurite |
8 Replies
28,901 Views |
![]() by Wolf |
![]() |
![]() |
935 Replies
562,900 Views |
![]() by MarkR |
|
![]() |
![]() |
3 Replies
12,972 Views |
![]() by Susadele |
|
![]() |
![]() |
557 Replies
363,174 Views |
![]() by sabertooth |
|
![]() |
![]() |
A message from DopeDivinity
Started by jessica |
8 Replies
5,659 Views |
![]() by goodsamaritan |
![]() |
![]() |
Chagnon book debunking Noble Savagery
Started by TylerDurden |
0 Replies
2,042 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,818 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,014 Views |
![]() by TylerDurden |
|
![]() |
![]() |
8 Replies
6,114 Views |
![]() by raw-al |
|
![]() |
![]() |
1 Replies
3,214 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
recent Multiregional hypothesis data
Started by TylerDurden |
0 Replies
2,275 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,635 Views |
![]() by Iguana |
|
![]() |
![]() |
15 Replies
6,308 Views |
![]() by svrn |
|
![]() |
![]() |
"Disgusting foods"
Started by dair |
0 Replies
2,167 Views |
![]() by dair |
![]() |
![]() |
26 Replies
15,076 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
"Game wars"
Started by dair |
2 Replies
8,081 Views |
![]() by TnMann |
![]() |
![]() |
"Grounding" the movie
Started by raw-al |
0 Replies
2,377 Views |
![]() by raw-al |
![]() |
![]() |
"Into the Wild" SPOILER!!
Started by boxcarguy07 |
15 Replies
8,930 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
"People are Awesome"
Started by SkinnyDevil |
2 Replies
3,007 Views |
![]() by KD |
![]() |
![]() |
"Real" vampires
Started by CitrusHigh |
0 Replies
2,358 Views |
![]() by CitrusHigh |
![]() |
![]() |
"Reject basic assumptions..."
Started by SkinnyDevil |
22 Replies
13,202 Views |
![]() by SkinnyDevil |
![]() |
![]() |
"something fishy"
Started by dair |
1 Replies
5,455 Views |
![]() by dariorpl |
![]() |
![]() |
"The plastic we breathe"
Started by TylerDurden |
1 Replies
2,366 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,432 Views |
![]() by TylerDurden |
|
![]() |
![]() |
'Sexual depravity' of penguins
Started by goodsamaritan |
1 Replies
2,983 Views |
![]() by cherimoya_kid |
![]() |
![]() |
27 Replies
13,700 Views |
![]() by raw-al |
|
![]() |
![]() |
(raw) Key to eternal youth...
Started by TylerDurden |
0 Replies
1,989 Views |
![]() by TylerDurden |
![]() |
![]() |
*Sigh* The future of humanity...
Started by TylerDurden |
4 Replies
3,118 Views |
![]() by a_real_man |
![]() |
![]() |
1 meal side effects?
Started by achillezzz |
2 Replies
3,449 Views |
![]() by rawcarni |
![]() |
![]() |
10 Body-hacking ideas
Started by TylerDurden |
0 Replies
1,929 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,799 Views |
![]() by TylerDurden |
|
![]() |
![]() |
100 years of medical robbery
Started by raw-al |
10 Replies
5,456 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
2,512 Views |
![]() by Alive |
|
![]() |
![]() |
12,000 year old civilization
Started by raw-al |
1 Replies
2,687 Views |
![]() by miles |
![]() |
![]() |
1 Replies
2,882 Views |
![]() by zbr5 |
|
![]() |
![]() |
2 Replies
2,822 Views |
![]() by svrn |
|
![]() |
![]() |
3 Replies
3,571 Views |
![]() by van |
|
![]() |
![]() |
109 Replies
47,656 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
49 Replies
23,803 Views |
![]() by sabertooth |
|
![]() |
![]() |
10 Replies
6,141 Views |
![]() by RawZi |
|
![]() |
![]() |
0 Replies
2,386 Views |
![]() by Löwenherz |
|
![]() |
![]() |
0 Replies
1,894 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3/4 of european insects are dying
Started by TylerDurden |
5 Replies
3,421 Views |
![]() by dair |
![]() |
![]() |
30 to 40,000 year old pyramids
Started by raw-al |
1 Replies
3,940 Views |
![]() by miles |
![]() |
![]() |
43 Million Americans on Food Stamps?
Started by goodsamaritan « 1 2 3 » |
58 Replies
26,234 Views |
![]() by KD |
![]() |
![]() |
5 movies list
Started by TylerDurden « 1 2 3 » |
55 Replies
27,248 Views |
![]() by Max |
![]() |
![]() |
1 Replies
3,342 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
50 Cent's transformation...WOW
Started by actionhero |
1 Replies
3,789 Views |
![]() by KD |
![]() |
![]() |
11 Replies
5,664 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
76-Year-Old Porn Star: For Real!
Started by goodsamaritan |
4 Replies
5,902 Views |
![]() by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll