Hello folks.

I have a question about using php to select a file according to date. I am working on a project that uses xml to display horoscopes on a website. The xml feeds are ftp'd onto our server and have a different file name depending on the date. Unfortunetly this is the only way the xml is available.

The filenaming is:

Feed_name_YYYYMMDDHHMMSS_$storyid.xml

For example:
TMG_Horoscopes_Daily_Virgo_media_20060216100017_985313.xml


I'll be using php to do this, and as I'm fairly new to it, I'm not sure where to go from here. Does anyone have any advice, scripts or tutorials that might be able to help me?

Thanks guys,

John

Thanks man - I'll check those