I am stumped, I would like to have a code on my site that will make a list of all the files on a users website. Basically, I want the user to come and copy this code to a file on their website, and then the code will be placed in the root folder of their site. When the code runs, I would like it to grab every file textual web file they have created, such as some of these formats:
html,htm,php,shtml,asp,dhtml,txt
This would also search all subdirectories as well, and save those URL’s too.
The EXACT URL of each file will then be saved to a txt file that will be saved in their root directory.
I would like it to ignore all image files, exe files, and anything that would not contain textual content that can be displayed on the web.
anyone know of a way to do this?