SHARE
TWEET

Untitled

a guest Oct 10th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $plik=fopen("cw4.txt","r");
  3. $wiersz=fgets($plik,1024);
  4. $i=$wiersz;
  5. $i++;
  6. echo "odwiedziłeś stronę: ".$i."razy";
  7. fclose($plik);
  8. $plik=fopen("cw4.txt","w+");
  9. fwrite($plik,$i);
  10. fclose($plik);
  11. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top