View Single Post
Old 03-13-2011, 04:25 PM  
Sexgenoten
Registered User
 
Industry Role:
Join Date: Dec 2010
Posts: 85
I have no experience with trade scripts but if i would want to check on outgoing links i'd would do something like the following:

I'd have a href as a link with an id and a onmousedown function.

When the href is clicked, the onmousedown function would be triggered.

In this javascript function i'd retrieve the link and would use jquerys $.post to sent the information to an api page.

On the api page you would retrieve the information from the $_POST array and subsequently insert it into a database.

Make sure your api page only accepts incoming arrays from ur own domain.

GL!

Last edited by Sexgenoten; 03-13-2011 at 04:26 PM.. Reason: grammar
Sexgenoten is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook