Ise este codigo pero no me funciona:
Código PHP:
<?
// el linck es votar.php?vot=0&est=5
$est = $_GET['est'];
$vot = $_GET['vot'];
if($est == '1' || $est == '2' || $est == '3' || $est == '4' && $est || '5'){
$archi = "vota/$vot.txt";
$ab = fopen($archi, "r+");
$total + $est;
$tota = $total.' ';
$grabar = fwrite($ab, $tota);
fclose($ab);
}
?>
Gracias
Salu2