Link to home
Start Free TrialLog in
Avatar of workflow80
workflow80

asked on

counter click html

Hi

We have an html page, very simple, with 2 links.

We want to count the number of cliks of each link.

could you tell me how can we have that without a database ?

Thanks!
Avatar of Roman Gherman
Roman Gherman
Flag of Moldova, Republic of image

without a database you will need to store a number in a file on server side.

But question is: do you have serverside? or just HTML?
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello Bro!

For this you need server side script but sure you can by pass DB use by using FILE handling.

Regards,

Asif Ahmed Khan
@gurvinder372

that will count only for every user separately and will disappear when cookie expires.

It will not count clicks overall users.

@workflow80 pay attention that this is not the answer that you were searching for.