Need Urgent Help with File Matching Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
neothe1
Forum Newbie
Posts: 1
Joined: Wed Feb 24, 2010 12:38 am

Need Urgent Help with File Matching Script

Post 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!
Post Reply