Johnny G Junior's NoteBook Treasures: PHP scanning directory to XML document

Wednesday, April 16, 2008

PHP scanning directory to XML document

This script scans the directory the php files in, displays it on screen and creates an xml file on the server... ALREADY FORMATED!!!

you can change the directory if you need to in $dir and the xmlfile name in..$ourFileName

Im not going to explain this bad boy yet.. copy this script and paste it into a new PHP file of your choice. NAME IT WHATEVER YOU WANT DOT PHP.

No comments: