|
Posted by Simon Stienen on 11/15/57 11:23
On 2005-08-08 14-06-29 Maximus <teddy.am@gmail.com> wrote:
> my whole idea here is that i want to track how many clicks got for a
> picture.
> any ideas?
There are two ways, for each one, you set the src= of the image to a PHP
script.
1. This script increments the count and redirects the user to the image
using a Location-header.
2. After incrementing the counter, the script outputs the image directly
(don't forget the Content-Type header)
HF,
Simon
--
Simon Stienen <http://slashlife.org/>
"What you do in this world is a matter of no consequence,
The question is, what can you make people believe that you have done."
/Sherlock Holmes in A Study in Scarlet by Sir Arthur Conan Doyle/
Navigation:
[Reply to this message]
|