Non ho ben capito quello che devo fare per far funzionare lo script. Vi copio lo script di alcuni file:
Codice PHP:
<?
/* allowed url's, in the format of ("url1", "url2", "url3",)
remember you must use the same url when calling the file, and including the counter
for example if "http://www.yourdomain.com/you/thing.html" is in there, to link to it you must
type "...dtrack.php?url=http://www.yourdomain.com/you/thing.html" and
"...dview.php?url=http://www.yourdomain.com/you/thing.html" */
/* note: when filling this out, you must put the FULL path http:// and all, because
otherwise it would be impossible to track links that were in different folders, might be
annoying, but its alot more versatile */
$a_url = array("http://fdiodato.altervista.org//ita//novita.htm",
"http://fdiodato.altervista.org//ita//novita.htm",
"http://fdiodato.altervista.org//ita//novita.htm");
?>
Qui trovate il risultato: http://fdiodato.altervista.org/ita/down.htm.
Vi copio anche il file "readme":
Installation:
1) upload all of the files into a directory named like "track" or "linktrack" or something
2) fill out the things in dtrackurls.php
3) done
Usage:
- To start tracking a URL, use the exact link you typed, in dtrackurls.php, it will just directly refer the user
to the file
*example*: <a href="http://somesite.com/folder/dtrack.php?url=http://www.somesite.com/somefile.html">Somefile.html</a>
- To view a counter, use the exact link once again...and use dview.php
*example*:
php - <? include(http://somesite.com/folder/dview.php.../somefile.html); ?>
html (not reccomended) - <img src="http://somesite.com/folder/dview.php?url=http://www.somesite.com/somefile.html" />
Grazie.