CPG and Website Stats CPG and Website Stats
 

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]

Main Menu

CPG and Website Stats

Started by rkolech, July 06, 2005, 03:35:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rkolech

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.

Nibbler

Put it in your theme's template.html.

rkolech

Problem solved!  Thanks for your help.