Jump to content

checking for recently added xml files


fogofogo

Recommended Posts

Hello folks, I'm not sure if this is in the write place - so I apologise if it is not.I've been asked to integrates some xml into a php page. The xml file is dropped into a folder on our webserver on a daily basis and is given a new name. ( for example TMG_Horoscopes_Daily_Virgo_media_20060213100013985277_.xml area in bold is the part that changes). My problem is, I'm not sure how to go check for the most recently added file and make sure its the correct on (ie virgo). Anyone have an similar problems and could offer some advice, or know of any script that could help?Thanks!J

Link to comment
Share on other sites

I think you should actually explain first to yourself and us what each part of the number means.20060213 is most probably 13 february 2006, but what about the rest? Anyhow, it would be best if you could actually check each part of the number. I don't know of such a script though. Perhaps someone else does...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...