Reply to Re: Sending PHP Emails

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация