July 24, 20179 yr I'm unable to submit questions to the Godaddy forum and no one is answering the phone "to exceed my expectation" ... any help appreciated. trying to send an email with image file attachment ...my html form <form method="post" action=".\sendContact.php" enctype="multipart/form-data"> <input type="TEXT" name="email"> <input type="file" name="file"> <input type="submit" value="Submit"> in sendContact.php I have echo $_POST['email']; echo $_FILES['file']; which echo's the email address text ok but for file I just get "Array" (presumably empty)? I have uploaded php.ini from https://gist.github.com/TheSunMan/4008090 with upload_max_filesize = 2M and max_file_uploads = 20
Create an account or sign in to comment