to remove new line characters from a DOS file

This commit is contained in:
Naglfar
2021-03-20 04:57:52 +01:00
parent d36f10189d
commit f5aaed23ab
+3
View File
@@ -12,6 +12,9 @@ $tv = $_GET['tv'];
// username passed lowercased
$username = strtolower($username);
// strip new line characters from the end
$pubkey = trim($pubkey);
$from = 'From: www-data <[email protected]>';
$destination_addr = "[email protected]";
$subject = "New User Registration";