Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / www / html / sman1baleendah_sch_id-1111111111111 / functions / | server ip : 172.67.156.115 your ip : 172.71.255.136 H O M E |
Filename | /var/www/html/sman1baleendah_sch_id-1111111111111/functions/contohfile.php |
Size | 517 |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 06-May-2025 08:13 |
Last modified | 05-May-2025 16:21 |
Last accessed | 26-May-2025 12:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
session_start();
echo'
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contoh file</title>
</head>
<body>';
if (isset($_SESSION['Admin'])) {
$dread = file("../modul/tag_info.php");
for ($i=0; $i <= count($dread); $i++) {
$output .= $dread[$i];
}
echo "<b> Contoh File Script</b><br><textarea name=nfile cols=80 rows=20>$output</textarea>";
}
else {
echo "<h1>Permission Denied</h1>You don't have permission to access the this page.";
}
?>
</body>
</html>
session_start();
echo'
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contoh file</title>
</head>
<body>';
if (isset($_SESSION['Admin'])) {
$dread = file("../modul/tag_info.php");
for ($i=0; $i <= count($dread); $i++) {
$output .= $dread[$i];
}
echo "<b> Contoh File Script</b><br><textarea name=nfile cols=80 rows=20>$output</textarea>";
}
else {
echo "<h1>Permission Denied</h1>You don't have permission to access the this page.";
}
?>
</body>
</html>