Jump to content

Silence is golden - PHP


Nicolae

Recommended Posts

Are you looking for a way to prevent the folder list from appearing in the browser if someone types in a direct url to a plugin folder or include folder?

 

Yes, you can just add a blank file called index.php and it will load instead of the folder list.

The //silence is golden part is not needed.

 

There may be more sophisticated ways of doing it but a blank file will work if its called index.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.