Re: index page query from PHP newbie



"KiwiBrian" <briantoz@xxxxxxxxxx> wrote in message
news:d7fi1q$f1v$1@xxxxxxxxxxxxxxxxxx
>
> "KiwiBrian" <briantoz@xxxxxxxxxx> wrote in message
> news:d7fcnk$5gb$1@xxxxxxxxxxxxxxxxxx
>> 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.


.



Relevant Pages

  • Upgrading to 60 question.
    ... <ACPI PCI bus> on pcib0 ... <Parallel port bus> on ppc0 ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, ...
    (freebsd-questions)
  • Re: openssl extension not loading (need to open https stream)
    ... you configured PHP?" ... I have also enabled the openssl extension and made sure it is ... in the extension folder. ... the apache module ...
    (comp.lang.php)
  • Re: extension PHP Qt
    ... Very few people will be using PHP 5 soon. ... >>extension unless they pay the commercial Qt license. ... What I am trying to tell you is that because of the license fee payment ... Either GTK, Qt and wxWindows can work either on Linux and Windows, so ...
    (comp.lang.php)
  • Re: Making one HTML page from more than one file
    ... You don't need to worry about browser support for any particular ... odd compiler extension -- if you write code that uses the odd compiler ... Better yet would be to learn PHP, which really is a full-blown programming ...
    (alt.html)
  • Re: Making one HTML page from more than one file
    ... You don't need to worry about browser support for any particular ... odd compiler extension -- if you write code that uses the odd compiler ...
    (alt.html)