thanks for unformserver team, I suggest to change the php code of the index.php in the root of the server to the one attached to this post. to display the server projects(folders) and server php files. the changes is to put this code after line 86 <tr><td colspan="3" style="text-align: center;"><h2>Server Projects</h2></td></tr><?php $n = 0;
foreach (scandir("./") as $file){
if (is_dir($file) && !in_array($file, array(".", "..", "css", "images"))){
$n++;
echo ($n % 2 == 0 ? "<td>$n - <a href='" . $file . "' target='_blank'>" . $file . "</a></td></tr>" : "<tr><td>$n - <a href='" . $file . "' target='_blank'>" . $file . "</a></td><td></td>");
}
}
echo ($n == 0 ? "<tr><td style='color: red;' colspan='3'>There is no folders in the server root.</td></tr>" : ($n % 2 == 0 ? "" : "<td></td></tr>"));?>
<tr><td colspan="3" style="text-align: center;"><h2>Server Php Files</h2></td></tr><?php $n = 0;
foreach (scandir("./") as $file){
if (strtolower(strrchr($file, '.'))==".php" ){
$n++;
echo ($n % 2 == 0 ? "<td>$n - <a href='" . $file . "' target='_blank'>" . $file . "</a></td></tr>" : "<tr><td>$n - <a href='" . $file . "' target='_blank'>" . $file . "</a></td><td></td>");
}
}
echo ($n == 0 ? "<tr><td style='color: red;' colspan='3'>There is no Php Files in the server root.</td></tr>" : ($n % 2 == 0 ? "" : "<td></td></tr>"));?>
hope to be good for you. M.A.S index.zip