May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
<?php $file = file_get_contents("../upload/$filename); $search = array(",", "\r\n"); $replace = array("|", "<br>"); $new_file = str_replace($search, $replace, $file); file_put_contents("/tmp/maildebuglog.txt",$new_file); mail($address, 'Email Subject', $new_file, "To: $user <$email@example.com>\n". "From: $admin <$firstname.lastname@example.org>\n". "MIME-Version: 1.0\n". "Content-type: text/html; charset=iso-8859-1" . "\n"); echo "$new_file"; ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.