PHP:
if(!"browseupload.php" == $entry && !"filemanager.php" == $entry) {
echo "<p><b><u>File</u></b>";
echo "<br><b>|----Name: </b>".$entry;
echo "<br><b>|----Link: </b><a href = \"/Uploads/browseupload.php?file=".$entry."&admin=yes\">View Image</a>";
echo "<br><b>|----Size: </b>".filesize($path."/".$entry)." bytes";
echo "<br><b>|----<u>Actions</u></b>";
echo "<br><b>|.....|----Delete: </b><a href = \"/Uploads/filemanager.php?file=".$entry."&action=880952delfile\">Go</a>";
echo "<br><b>|.....|----Rename: </b><a href = \"/Uploads/filemanager.php?file=".$entry."&action=482975renfile\">Go</a>";
echo "<br><b>|.....|----Copy: </b><a href = \"/Uploads/filemanager.php?file=".$entry."&action=285177copfile\">Go</a>";
}else {
echo "<p><b><u>System File</u></b>";
echo "<br><b>|----Name: </b>".$entry;
echo "<br><b>|----Link: </b><i>Disabled</i>";
echo "<br><b>|----Size: </b>".filesize($path."/".$entry)." bytes";
echo "<br><b>|----<u>Actions</u></b>";
echo "<br><b>|.....|----Delete: </b><i>Disabled</i>";
echo "<br><b>|.....|----Rename: </b><i>Disabled</i>";
echo "<br><b>|.....|----Copy: </b><i>Disabled</i>";
}
that PHP lists every file in \Uploads\ and gives options for what I want to do with it (its the admin controll panel for my image hosting site) before I added in the IF statement it listed all files, i added it in so that filemanagement.php and browseupload.php would be listed as system files but it lists all the files as system files now. What have I done wrong?
EDIT: ive fixed it.





