|
Posted by Rik on 02/23/07 00:19
On Thu, 22 Feb 2007 14:55:27 +0100, <stephenmarron@gmail.com> wrote:
> Hi Everyone,
>
> I am having trouble looking for a script that will rotate images from
> a standard text file.
>
> I have a folder set up with two images that rotate every time the page
> is refreshed. They also have a hyperlink so that when an image/ad is
> clicked on it goes to the advertiserments web address.
> The only problem is that the path to the images and corresponding
> hyperlink are in a javascript file.
>
> Is it possible to reference them from a standard text file so that a
> non-techie can login to webedit pro and edit the image name and url
> everytime the ad is being changed ?
>
> The script can be java scrip or preferably PHP, once it can reference
> a .txt file...Im happy
>
> Any help would be very much appreciated...
Check out fgetcsv(), and possibly fputcsv() if you want to make an
interface to it later.
--
Rik Wasmus
Navigation:
[Reply to this message]
|