Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CPG and Website Stats  (Read 2605 times)

0 Members and 1 Guest are viewing this topic.

rkolech

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • My Homepage
CPG and Website Stats
« on: July 06, 2005, 03:35:18 am »

Hi,

This is my 1st post, and its a question.  ???
I am not a PHP exptert, as a matter of fact I just installed it 3 days ago on my websterver.  CPG is working fine for me but I have a small question.  I recently installed an ASP application that keeps track of how many visits I have to my website and creats pretty graphs and such.  In order for this application to work I have to put a line of HTML code into every HTML file I wish to monitor.  The code is called a Monitoring String and it looks like this:

  <script  type="text/javascript" language="JavaScript" src="h$$p://www.mysite.com/myasg/stats_js.asp"> </script>

Unfortunately I cannot put this text into the index.php file and expect it to work, since this is obviously meant to be put into an HTML file.  So I was wondering if this line could be modified so that I could put it into the PHP file and have my stats tracked?  Thanks in advance for any help rendered,

Rob K.
« Last Edit: July 06, 2005, 06:32:18 am by TranzNDance »
Logged

Nibbler

  • Guest
Re: CPG and Website Stats
« Reply #1 on: July 06, 2005, 03:56:09 am »

Put it in your theme's template.html.
Logged

rkolech

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • My Homepage
Re: CPG and Website Stats
« Reply #2 on: July 06, 2005, 04:43:01 am »

Problem solved!  Thanks for your help.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.