Jump to content


Photo

making a hits counter


  • Please log in to reply
2 replies to this topic

#1 acidglitter

acidglitter
  • Members
  • PipPipPip
  • Advanced Member
  • 355 posts

Posted 06 June 2006 - 07:43 PM

i want to make a hits counter on my website, and then put it on my myspace. what kind of code could i put on myspace that will link to the page (at my site) the counter is on?
my makeup site <3
http://vanillaeyeliner.com

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 06 June 2006 - 07:46 PM

You'd have to be able to insert PHP or Javascript on myspace... and I'm not sure whether you're allowed to do either, to be honest. Doesn't myspace provide hit-counters?

Info: PHP Manual


#3 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 06 June 2006 - 09:19 PM

My space won't allow you to include a javascript in your file. For a counter, you'll need to use a php image file like <img src="http://www.domain/my...unt_script.php" />

Also, if you want to count the unique, return, and number of pages, you'll need to generate a PP3 (I think that what's called) privacy policy that is sent with the header in your image. This way, the browser can except your cookies.

If you want, you can click on my signture and check out the "Free Tracking" service.

NoGray.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users