Hi There,

Hope you can help, ive been looking for a script that will allow me to send attachments from forms for ages so thanks for that.

Im currently trying to get it working, here is what I have html wise:

<form action="http://www.xxxxxxxxxxx/cgi-bin/formmail.php" method="post" enctype="multipart/form-data">

<input type="file" name="file" size="40" class="box" id="file">

But im having problems sending the form, comes back with the message "internal server error", ive probably missed something out on the formmail.php file but im not sure what, the only thing ive changed is the TARGET_EMAIL section to reflect the domain its being sent to. The current host supports PHP so that should be ok.

Hope that helps.

Thanks