PX : code

Counter coded in Spanish by Jordi
Download this code


<?php
$fpo 
fopen("counter.txt","r+");
$tamaño filesize("counter.txt");
$numero=fgets($fpo,$tamaño+1);
$numero+=1;
fseek($fpo,0,SEEK_SET);
echo 
"<br>";
echo 
"<h2 align=center> ERES EL VISITANTE NÚMERO " .$numero ."</h2>";
//echo $numero;
fwrite($fpo,$numero);
fclose($fpo);
?>

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.