io ho inserito nella pagina:
www.sciaraf.it
il contatore di seguito riportato:
<? require("$DOCUMENT_ROOT C:\\index.php\contatore"); ?>
<?
$version = "0,21";
$counterstyle = "image";
$invisible = "no";
$height = "19";
$width = "15";
$hitsfile = "";
$images = "";
if (!$hitsfile) $hitsfile = dirname(__FILE__)."/hits";
if (!$images) $images = dirname(__FILE__)."/images";
$images = str_replace($DOCUMENT_ROOT, "index.php", $images);
$hits = file($hitsfile);
$hits = $hits[0] + 1;
$fp = fopen($hitsfile, "w");
fwrite($fp, $hits);
if ($invisible != "yes") {
if ($counterstyle == "text") {
echo $hits;
}
else {
$digit = strval($hits);
for ($i = 0; $i < strlen($hits); $i++) {
echo "<img src=$images/$digit[$i].gif height=$height width=$width alt=$hits>";
}
}
}
?>
il problema esiste proprio nella linea n° 1
e cioè non riesco a specificare l'esatto indirizzo!!!
Mi data una mano??
![]()