A cookie??

Well I tried PHP and CGI ways of counting downloads on mp3s -
but it made the user unable to download the file as in Save target As.

So I was told Javascript can remember this with cookies?
I searched google in and out and it doesn't seem to make much sense.

I just want a counter to display downloads for each mp3, does this require
a bunch of generated cookie files or can they all be put in one?

Any better suggestions before I blow my top! haha