The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#4157) Re: File Attachments <http://www.phorm.com/support/?rev=4157> AUTHOR: Sterling DATE: June 30, 2004 at 3:38 p.m. EST Reply To: (#4156) File Attachments Author: Sterling Date: June 30, 2004 at 1:43 p.m. EST Ok, to provide a little more updated info (should have read the instructions more throughly). I have $PHORM_FILE01 = ph_DECLARE; declared in my config file and <input type="File" class="form" NAME="PHORM_FILE01"> in the form. This returns "120 - Unable to open file upload module. Uploaded file(s) not saved." If I change the form field to <input type="File" class="form" NAME="{{PHORM_FILE01_name}}"> I get no error, but no file either. I know this is something stupid I'm doing wrong. Any help is appreciated! Sterling > I am trying to allow clients to upload a file with > form data and have that file e-mailed to me as an > attachment with the form data. > Form reads as follows: > <FORM NAME="BBForm" METHOD=POST > ACTION="phorm.php" > ENCTYPE="multipart/form-data"> > <input type="File" class="form" > name="Attached"> > <INPUT TYPE="submit" > VALUE="Submit"> > </form> > I have both fileattach.php and fileupload.php in my > lib directory along with functions and mimetypes. All > files are unedited. > When I test the form data I get the e-mail, so I know > the form is working is correctly. I just don't get the > file attachment. > Thanks *************************************************************************** This is an automatically-generated notice. If you'd like to be removed from the mailing list, please visit Phorm Support Forum at <http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx If you wish to respond to this message, please post your response directly to the board. Thank you! ------------------------------------------------- You are receiving this message because you are subscribed to the Phorm mailing list. To send messages to the mailing list, simply send email to phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe from the list by sending email to phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.