Thread: Server Question
View Single Post
Old 12-30-2008, 07:46 PM  
Bama
Confirmed User
 
Join Date: Nov 2001
Location: Redmond, WA
Posts: 2,727
Server Question

I am soooo not a server guy but I need to get a list of any/all .php files on my server. There are lots of sub-directories and the pages on the server are not linked together.

Anyone have a php script that can do this? I don't want to have to exclude any files or folders by hand (excludes off the shelf solutions) and the print-out needs to write out the full url for me (such as)

http://www.domain.com/foo/foo1/foo.php
http://www.domain.com/foo2/foo1/foo/foo2.php

and not just foo.php and foo2.php

There's probably a simple /find *.php |grep all -print dummydoesntknowunix.txt command i could use too - so that would work as well

Help is appreciated!
Bama is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote