Friday, 6 September 2013

Running hundreds of files through single PHP script

Running hundreds of files through single PHP script

I need to run 600 XML files through a script I've made that extracts
specific pieces of information and saves each one in JSON format. All 600
XML files are inside a folder ready to be run through the PHP file, I'm
now looking for a fast way to do it.
Essentially this is the process the PHP file goes through:
PHP reads single XML file via URL -> locally saves important info in
variables -> saves important info into JSON file
Is there a way I can somehow run all 600 XML files through my PHP file?
Thanks

No comments:

Post a Comment