I am looking for a way in php to generate a page called sitemap.php, basically this file needs to display avery file that is on my current server, images, folders, etc from the root. I tried using php includes *.* but this does not work. Can anyone help with this.
Yes something like that, this is actually for seo purposes, I want every single page, image, directory to be indexed. I need to be able to display everything that is on my server in a .php file, I already have the template using php includes I just need to figure out how to make a link to all the files on my server.