CPG and Website Stats CPG and Website Stats
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.