Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12239621
index.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
907 B
Referenced Files
None
Subscribers
None
index.php
View Options
<?php
if
(
array_key_exists
(
'user'
,
$_REQUEST
))
{
require_once
(
'FingerClient.php'
);
$client
=
FingerClient
::
FromAddress
(
$_REQUEST
[
'user'
]);
if
(
$client
==
null
)
{
echo
'<div class="alert-box alert">Invalid Finger address format.</div>'
;
}
elseif
(!
$client
->
Run
())
{
echo
'<div class="alert-box alert">'
,
$client
->
lastError
,
'</div>'
;
unset
(
$client
);
}
}
?>
<h2>Who?</h2>
<form>
<div class="row collapse">
<div class="ten mobile-three columns">
<input type="text" name="user" id="user" value="
<?
=
$_REQUEST
[
'user'
]
??
""
?>
" placeholder="username@server" />
</div>
<div class="two mobile-one columns">
<input type="submit" class="button expand postfix" value="Finger" />
</div>
</div>
</form>
<?php
if
(
isset
(
$client
)
&&
$client
->
rawResult
)
{
echo
"<h2>Finger $_REQUEST[user]</h2>"
;
echo
'<pre id="finger">'
,
$client
->
rawResult
,
'</pre>'
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 11, 22:41 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064228
Default Alt Text
index.php (907 B)
Attached To
Mode
rTOOLS Nasqueron Tools
Attached
Detach File
Event Timeline
Log In to Comment