Advertisement
Aha2Y

Untitled

Feb 12th, 2012
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.   $fp = fopen('votes.php', 'r+');
  3.   $target =  $_POST["target"];
  4.   $target2 =  $target++;
  5.   fwrite($fp, $target);
  6.   fwrite($fp, $target2);
  7.   fclose($fp);
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement