We help IT Professionals succeed at work.
Get Started

Use Javascript to increment a text file counter with an onClick event?

saabStory
saabStory asked
on
1,946 Views
Last Modified: 2012-05-05
I know Javascript is client-side and I need a server-side component to update any file, but I can't find anything that will do what  I need that is not written in .php.  I'd love to use a .php solution but don't have it installed on our server (yet).

What I have is a series of e-mail messages for people to use to send to clients.  The click on the link and the message opens, they add their clients name and send.  I need  a counter or another method that will increment every time one of the links is clicked on to determine how many hits each link is getting.  Ultimately, I'll need 3 counters but if I can get one, I'll be able to get the rest going.

Thanks much in advance.

Comment
Watch Question
Mobile Solution Architect
Commented:
This problem has been solved!
Unlock 2 Answers and 25 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE