PHP directory probing?
PHP directory probing?
- Started
- Last post
- 3 Responses
- murmur
Is there a way to probe a directory using PHP? I want to generate an XML file based on the contents of any give dir. Thoughts?
- bcoden0
Yeah use readDir(); function this will return an array that you can write out to xml.
- unfittoprint0
all you'll need:
http://pt.php.net/function.opend…
and another thing I find quite useful [current directory on the server]
http://pt.php.net/getcwd
- murmur0
Thanks. Exactly what i was looking for.