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

Recommended Answers

All 2 Replies

Thanks man - I'll check those

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.