local address bar for websites which shows only local folders and files?





That’s possible as you did it in your example.

IF

There’s no index.htm, index.html or index.php in that folder PLUS you deactivate some security settings of your webspace. (Which is absolutely not recommend). But if you really want to do it that way, it’s a free world.

Better way is using PHP.

Click e.G. My files (href=”myfiles.php”)

and your folder name is e.G. downloadfiles

PHP Code:


<?php
$dir
='downloadfiles';
while(
$files=readdir($dir)){
      if(
$files!='.' Read the entire article at the source link…


We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.

Leave a Reply