You are here: Re: index page query from PHP newbie « PHP Programming Language « IT news, forums, messages
Re: index page query from PHP newbie

Posted by Tony on 11/08/64 11:17

"KiwiBrian" <briantoz@ihug.co.nz> wrote in message
news:d7fi1q$f1v$1@lust.ihug.co.nz...
>
> "KiwiBrian" <briantoz@ihug.co.nz> wrote in message
> news:d7fcnk$5gb$1@lust.ihug.co.nz...
>> On my index.html page I wish to have a link called "Today's message" that
>> contains a bit of PHP to fetch the message of the day.
>> I have this working from a daughter test page which has the extension
>> .php.
>> When I implement this link from my Home Page I want the Home Page to
>> still be named index.html
>> How would I implement my desired operation?
>> TIA
>
> Thanks folks for the replies so far.
> I was hoping that my Home Page link could go to a special page which had a
> .php extension and contained the appropriate snippet of php and was
> automatically actioned.
> Is this another option?
> I use this method at present to funnel all outgoing links to a site that I
> want to monitor the number of visits to from my site using Statcounter.
> If this method is an option, what would I need in my intermediate page in
> place of the a href link, which in testing I have triggered manually.
> I hope I am being clear.
> TIA
> Brian Tozer

If you're set on keeping the HTML extension, all I could suggest is using
JavaScript instead of PHP.

 

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

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