Re: [phpOpenTracker-general] logging outgoing links

Jörg Halitschke <[email protected]> Tue, 19 Sep 2006 14:36:52 +0200
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
> Ok, but I don=92t understand. I=92m sorry. Because I can=92t see how i mu=
st
modify my php or statics docs.  =

> If you have an example it will be less difficult. Thanks !!
Let me explain... for example you got this external link in a doc:

<a href=3D"http://www.phpopentracker.de">phpopentracker</a>

and now you want to notice when this link is clicked, so
you've to modify the link to:

<a
href=3D"/pot_folder/docs/scripts/exit.php?url=3Dhttp://www.phpopentracker.d=
e">ph
popentracker</a>

Now if this link is clicked, the url http://www.phpopentracker.de isn't
called directly, but the exit.php creates a record with this url in the
database and after that you will be redirected to this url.

That's the whole secret ;)

HTH

-- =

Ausgehende eMail ist virenfrei.
=DCberpr=FCft durch AVG Anti-Virus.
Version: 7.1.406 / Virendatenbank: 268.12.5/450 - Ausgabedatum: 18.09.2006
 =