Thread: Server Question
View Single Post
Old 12-30-2008, 08:48 PM  
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
Quote:
Originally Posted by Bama View Post
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!
Where are you hosted?
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote