Salve,
volevo porvi un quesito... ho installato questo script (PHP_i-Stats_1.2) nel mio sito per le statistiche, però ho dei problemi vi espongo ho seguito il file txt per l'installazione che è nella cartella del file.. metto lecredenziali tutto ok... eseguo l'SQL mi crea le tabelle in DB.. quando arrivo al punto in cui mi chiede di inserire uno java script non capisco dove...
insert the following code to your web page. For example if you
placed PHP i-Stats in a directory /stats of your web root, and
your URL is http://yourdomain.com, you should insert this code
to your web page:
<script language="Javascript">
function replaceText(text){
while(text.lastIndexOf("&") > 0){
text = text.replace('&', '[i-Stats]');
}
return text;
}
var web_referrer = replaceText(document.referrer);
<!--
istat = new Image(1,1);
istat.src = "http://yourdomain.com/stats/counter.php?sw="+screen.width+"&sc="+screen.colorD epth+"&referer="+web_referrer+"&page="+location.hr ef;
//-->
</script>
Mi date una mano???
Grazie anticipatamente