I was needing help coding sending files to email via php. I know how to send form responses, but I'm not sure how to send files... This is the code I use to send form responses:
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "email@email.com", "SubJect Line",
$message, "From: $email" );
header( "Location: thanks.html" );
?>
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "email@email.com", "SubJect Line",
$message, "From: $email" );
header( "Location: thanks.html" );
?>