View Single Post
  #4 (permalink)  
Old 04-05-2007, 21:47
DavidAllen's Avatar
DavidAllen DavidAllen is offline
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 339
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default A couple of things

Check these as well:

In the html form tag - make sure it has the enctype set eg
Code:
form action="your_php_file.php" enctype="multipart/form-data" method="post" name="my_form" >
also in the php file you should have something like

Code:
if ($_FILES['attachment1']['name']<>"") {
	$mail->AddAttachment($attachment1,$_FILES['attachment1']['name']); // add attachment from form field called attachment1
}
Hope this helps
__________________
David Allen - www.serina.co.uk
Reply With Quote