PDA

View Full Version : dynamic text from an ftp file


weatherman
08-28-2002, 02:58 PM
I want to include some type of text scroller, marquee...etc that has content based on a text file that comes from an ftp site.

(Example)I am building a weather page and would like for warnings, etc to automatically update in a scroller.

I am a newbie at this and any help is certainly appreciated.

mouse
08-28-2002, 03:36 PM
Maybe with some kind of serverside.

You could probably include the file:

<?php include'ftp://sitename.com/filename.txt'; ?>

Then when the page is called the conents of that file is written in as if it were always part of the page. Seemless.