Sign in
eclipse
/
www.eclipse.org
/
projects
/
refs/tags/PRE_129861
/
.
/
stats
/
insiders.class.php
blob: 105e69ee8dca9b6f402e4f363adbb6825707f828 [
file
] [
log
] [
blame
]
<?
php
class
Insider
{
function
Insider
(){
}
function
isInsider
(
$author
,
$newsgroup
){
$pstr
=
strpos
(
$author
,
"@"
);
$len
=
strlen
(
$author
);
if
(
substr
(
$author
,
$pstr
,
$len
-
$pstr
)
==
"@eclipse.org"
)
return
1
;
else
return
0
;
}
}
?>