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]
|