$c1 = @fopen("teljari.txt", "r+"); if ($c1 < 10) { $fp = fopen("teljari.txt", "r"); $count = fread($fp, 1024); fclose($fp); $count = $count + 1; echo 'redir' + $count; $fp = fopen("teljari.txt", "w"); fwrite($fp, $count); fclose($fp); } else { echo 'Teljarinn er kominn yfir leyfða tölu'; }
Er einhver sem getur fundið villuna?
I did it! I finally killed Batman! In front of a bunch of vulnerable, disabled kids!!!! Now get me Santa Claus!