plodos Posted February 2, 2013 Share Posted February 2, 2013 mail addAttachment(fileatt) is not working ? How can I get the file from the online form ? FORM <form name="form" method="POST" enctype="multipart/form-data" action="sendauthorX.php"> <tr> <td width="175">Attach Your File</td> <td>Acceptable file types (.zip,.rar)<p><input name="fileatt" type="file" id="fileatt" size="60"></td> </tr> <td><input type="submit" value="Send!"></td> </form> sendauthorX.php Link to comment https://forums.phpfreaks.com/topic/273950-smtp-email-attachment-simple/ Share on other sites More sharing options...
PFMaBiSmAd Posted February 2, 2013 Share Posted February 2, 2013 How can I get the file from the online form ? There are about 200,000 php upload examples posted on the Internet. Start by examining some of them. Once you have successfully uploaded the file and checked for upload errors, you can use the uploaded file information in your email attachment. Link to comment https://forums.phpfreaks.com/topic/273950-smtp-email-attachment-simple/#findComment-1409705 Share on other sites More sharing options...
plodos Posted February 2, 2013 Author Share Posted February 2, 2013 I paid for the service. Solved. Link to comment https://forums.phpfreaks.com/topic/273950-smtp-email-attachment-simple/#findComment-1409729 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.