forked from Th3-822/rapidleech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsha1.php
More file actions
26 lines (26 loc) · 698 Bytes
/
Copy pathsha1.php
File metadata and controls
26 lines (26 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
function rl_sha1() {
global $list;
?>
<table class="md5table" align="center" border="0" cellspacing="2" cellpadding="4">
<tr>
<th align="center"><?php echo lang(104); ?></th>
<th align="center"><?php echo lang(56); ?></th>
<th align="center">SHA1</th>
</tr>
<?php
foreach ($_GET['files'] as $v) {
$file = $list[$v];
if (file_exists($file['name'])) {
?>
<tr>
<td nowrap="nowrap"> <b><?php echo htmlentities(basename($file['name'])); ?></b></td>
<td align="center"> <?php echo $file['size']; ?> </td>
<td nowrap="nowrap"><b> <?php echo sha1_file($file['name'])?> </b></td>
</tr>
<?php
}
}
echo "</table>\n<br />";
}
?>