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 Stan McCann on 11/02/19 11:17

"Tony" <someone@somewhere.not> wrote in
news:119nnludt6ke73c@corp.supernews.com:

> "KiwiBrian" <briantoz@ihug.co.nz> wrote in message
> news:d7fi1q$f1v$1@lust.ihug.co.nz...

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

Or set index.html as simply a redirect to index.php?

You'd get better help if you would explain what you are trying to
accomplish. Is there some specific reason for not changing index.html
to index.php? A lot of links hard coded to index.html for instance?
If that is the reason, a redirect should work.

--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
http://alamo.nmsu.edu/ There are 10 kinds of people.
Those that understand binary and those that don't.

 

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

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