View Full Version : How to count hits from a specified URL

Jun 25th, 2007, 04:20 PM

First, I like to thank you for reading my message.
I have a specified URL (link, eg. www.amygirl.com) on my domain www.russianbride72.com, I want to count hits every time a user click on this link (www.amygirl.com).
I dont' know how to do it from JS.
Can you please help me to create a simple script to track hits from a specified URL?

Thanks again.

Jun 26th, 2007, 03:43 AM
You might have to make it with PHP... not sure tho =/

Jun 26th, 2007, 03:46 AM
oops sry, im laggin

Philip M
Jun 26th, 2007, 10:53 AM
This cannot be done with JavaScript which cannot read from or write to a file.
You can only do it using a server-side language such as PHP or Perl.

Jun 26th, 2007, 01:43 PM
Thanks, I'll find some free php script to do this.