acidglitter Posted June 6, 2006 Share Posted June 6, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/11353-making-a-hits-counter/ Share on other sites More sharing options...
ober Posted June 6, 2006 Share Posted June 6, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/11353-making-a-hits-counter/#findComment-42566 Share on other sites More sharing options...
nogray Posted June 6, 2006 Share Posted June 6, 2006 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_count_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. Quote Link to comment https://forums.phpfreaks.com/topic/11353-making-a-hits-counter/#findComment-42590 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.