/* * 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 35 Guests are viewing this board. | ||||
![]() |
![]() |
cron-o-meter is amazing!
Started by kurite |
8 Replies
24,675 Views |
![]() by Wolf |
![]() |
![]() |
935 Replies
406,666 Views |
![]() by MarkR |
|
![]() |
![]() |
3 Replies
10,080 Views |
![]() by Susadele |
|
![]() |
![]() |
557 Replies
277,466 Views |
![]() by sabertooth |
|
![]() |
![]() |
A message from DopeDivinity
Started by jessica |
8 Replies
4,657 Views |
![]() by goodsamaritan |
![]() |
![]() |
Chagnon book debunking Noble Savagery
Started by TylerDurden |
0 Replies
1,448 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,217 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,377 Views |
![]() by TylerDurden |
|
![]() |
![]() |
8 Replies
4,840 Views |
![]() by raw-al |
|
![]() |
![]() |
1 Replies
2,553 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
recent Multiregional hypothesis data
Started by TylerDurden |
0 Replies
1,483 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
1,863 Views |
![]() by Iguana |
|
![]() |
![]() |
15 Replies
5,038 Views |
![]() by svrn |
|
![]() |
![]() |
"Disgusting foods"
Started by dair |
0 Replies
1,672 Views |
![]() by dair |
![]() |
![]() |
26 Replies
12,817 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
"Game wars"
Started by dair |
2 Replies
6,028 Views |
![]() by TnMann |
![]() |
![]() |
"Grounding" the movie
Started by raw-al |
0 Replies
1,742 Views |
![]() by raw-al |
![]() |
![]() |
"Into the Wild" SPOILER!!
Started by boxcarguy07 |
15 Replies
7,413 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
"People are Awesome"
Started by SkinnyDevil |
2 Replies
2,092 Views |
![]() by KD |
![]() |
![]() |
"Real" vampires
Started by CitrusHigh |
0 Replies
1,526 Views |
![]() by CitrusHigh |
![]() |
![]() |
"Reject basic assumptions..."
Started by SkinnyDevil |
22 Replies
10,742 Views |
![]() by SkinnyDevil |
![]() |
![]() |
"something fishy"
Started by dair |
1 Replies
3,660 Views |
![]() by dariorpl |
![]() |
![]() |
"The plastic we breathe"
Started by TylerDurden |
1 Replies
2,000 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,685 Views |
![]() by TylerDurden |
|
![]() |
![]() |
'Sexual depravity' of penguins
Started by goodsamaritan |
1 Replies
2,346 Views |
![]() by cherimoya_kid |
![]() |
![]() |
27 Replies
11,161 Views |
![]() by raw-al |
|
![]() |
![]() |
(raw) Key to eternal youth...
Started by TylerDurden |
0 Replies
1,402 Views |
![]() by TylerDurden |
![]() |
![]() |
*Sigh* The future of humanity...
Started by TylerDurden |
4 Replies
2,331 Views |
![]() by a_real_man |
![]() |
![]() |
1 meal side effects?
Started by achillezzz |
2 Replies
2,497 Views |
![]() by rawcarni |
![]() |
![]() |
10 Body-hacking ideas
Started by TylerDurden |
0 Replies
1,271 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,216 Views |
![]() by TylerDurden |
|
![]() |
![]() |
100 years of medical robbery
Started by raw-al |
10 Replies
4,282 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
1,703 Views |
![]() by Alive |
|
![]() |
![]() |
12,000 year old civilization
Started by raw-al |
1 Replies
1,870 Views |
![]() by miles |
![]() |
![]() |
1 Replies
2,047 Views |
![]() by zbr5 |
|
![]() |
![]() |
2 Replies
1,962 Views |
![]() by svrn |
|
![]() |
![]() |
3 Replies
2,702 Views |
![]() by van |
|
![]() |
![]() |
109 Replies
41,903 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
49 Replies
20,010 Views |
![]() by sabertooth |
|
![]() |
![]() |
10 Replies
4,933 Views |
![]() by RawZi |
|
![]() |
![]() |
0 Replies
1,611 Views |
![]() by Löwenherz |
|
![]() |
![]() |
0 Replies
1,315 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3/4 of european insects are dying
Started by TylerDurden |
5 Replies
2,535 Views |
![]() by dair |
![]() |
![]() |
30 to 40,000 year old pyramids
Started by raw-al |
1 Replies
3,144 Views |
![]() by miles |
![]() |
![]() |
43 Million Americans on Food Stamps?
Started by goodsamaritan « 1 2 3 » |
58 Replies
21,759 Views |
![]() by KD |
![]() |
![]() |
5 movies list
Started by TylerDurden « 1 2 3 » |
55 Replies
22,142 Views |
![]() by Max |
![]() |
![]() |
1 Replies
2,475 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
50 Cent's transformation...WOW
Started by actionhero |
1 Replies
2,879 Views |
![]() by KD |
![]() |
![]() |
11 Replies
4,416 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
76-Year-Old Porn Star: For Real!
Started by goodsamaritan |
4 Replies
4,945 Views |
![]() by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll