WordPress Website – 14 digit Alphanumeric Input
 
“;
    echo “
“;
    echo “| Output:“;
    echo “ | ” . $final_number . $check_digit . ““;
    echo “ | 
“;
    echo ““;
    // create and download the text file
    $file = $final_number . $check_digit . “.txt”;
    header(“Content-Type: application/octet-stream”);
    header(“Content-Disposition: attachment; filename=” . urlencode($file));    
    header(“Content-Type: application/force-download”);
    header(“Content-Type: application/download”);
    header(“Content-Description: File Transfer”);
    header(“Content-Length: ” . strlen($final_number . $check_digit));
    echo $final_number . $check_digit;
    exit();
}
?>