HI,
I have a website that gets live sports newfeeds in XML format.
I have a php script which reads the xml file and displays the date and article on a website.
The problem is this :
Whenever a new sports story is release, I would get a new xml file uploaded(about ever 5 minutes) onto the ftp directory I set for the newsfeed.
These files have different names(usually numerically).
The question is :
What is the easiest way to use php to automatically check the directory for new xml files and then add it to the list on my webpage?
The webpage basically just displays the title of the article and the date of it.
thanx