Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2006, 06:15 AM
Authorized User
 
Join Date: Nov 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default using php to check file names

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_98 5313.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







Similar Threads
Thread Thread Starter Forum Replies Last Post
Check boxes to appear with Table Names hewstone999 Access VBA 1 March 13th, 2008 10:51 AM
file names page 664 levelmeasure BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 16th, 2006 04:33 PM
reading file names riteshu C++ Programming 3 September 22nd, 2004 05:13 AM
changing Text source file names rjjhome SQL Server DTS 1 August 18th, 2004 02:27 PM
file names (close enough) tontos Classic ASP Basics 1 July 25th, 2004 08:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.