You are here: Re: Ad rotation on a website « PHP Programming Language « IT news, forums, messages
Re: Ad rotation on a website

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация