Ok.
so you have
counter.php
which contains
and alsoPHP Code:<?php
$viewss = file("counter.txt");
$views = $viewss[0]; $views++;
$fp = fopen("counter.txt", "w");
fwrite($fp, $views);
fclose($fp);
print $views;
?>
counter.txt which is chmoded to 777
and that this include link is correct to it
aka not in any other dirctorys
<?php
include("counter.php");
?>
??





Reply With Quote





