How to Build a File Explorer with PHP?

Asked

Viewed 94 times

0

I made a Ban system that Creates a file in the "bans" folder with the name of the banned users. I’m building another ban system, but it’s too manual :/

Is it possible to display the contents of that particular folder so that I can access that banlist? An example of how to do this exhibition would be greatly appreciated

  • It is possible yes. In fact, it has a very standard configuration in Apache that makes the page very similar to this one: http://maven.totalcross.com/artifactory/repo1-release/ ; however, I believe you also want to manage your bans, excluding and adding bans to the page itself, correct? If yes, then the default option would not be enough for this, it would be necessary to encode a little

  • 1

    Is it a file per user? Type, if the file with the user name exists, is it banned? There would be a list of all the files, where you could choose which to ban or debug, right?

  • opendir() http://php.net/manual/en/function.opendir.php

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.