Page 1 of 1

Need Urgent Help with File Matching Script

Posted: Wed Feb 24, 2010 12:45 am
by neothe1
Hey, guys,

I'm doing a technical writing internship right now (I'm not really a coder = read, I don't know PHP at all) butI urgently need to write a PHP script to do the following:

- take an index.html file
- scan it for "ReleaseNotes_x.x.x.html" and list all the found files in a table column, each entry linking to the relevant file
- scan it for "NotableChanges_x.x.x.html" and place the notable changes with the same version in a column next to the release notes
- if there are no notable changes with the same version, return  
- scan it and list all the remaining files that match neither case

I would like to post my current script, where I tried to do file matching with regex, but, first of all it's b0rken, and, secondly, it would violate my non-disclosure agreement. :-(

Please help!