Hi,guys,I need some advice on building image link counter and image display counter.
1.I need to know how to track each time the image display counter(should be something like this $counter .= $counter + 1), the image display counter only increase for unique visitor.Is that log the counter into text file better or store in the database better(this counter will keep updating the database or the counter log file)?
2.I need to know how to track whether the link of the image is click or not by the visitor,if click by visitor then only i update the counter click for the related image,
can anyone show me some code to do this kind of click counter when the visitor click the image link?
Kindly give any sample code / reference for the 2 situation above.Thanks in advance.