Contact Form Changes from v1.1 to v1.2
globals.php
This is a guide for Contact Form with Mail Attachments component and specifies what has changed from v1.1 to v1.2.
For a step-by-step installing guide for this component check the Step-by-step installing guide but keep in mind the changes in this post.
Contact Form with Mail Attachments is a Flash, actionscript 3, mail contact form component that suppports multiple mail attachments. The server side script is in php.
added $UPLOAD_CONTAINING_FOLDER : this is where the upload directory can be set.
Note that the directory set here must exist! It default to “./files/” but you still need to create it. This directory is relative to where the php script files are located.
upload_file.php
now requires “globals.php”: it looks after $UPLOAD_CONTAINING_FOLDER as it will upload files into this folder(actually it will create new temporary directories)
Safety check added here
sendmail.php
and same safety checks added here too.
Fixed issues with php scripts
php would diskard files bigger than the maximum file upload (from php.ini) and upload script would fail: fixed now
sendmail.php would fail to delete the created files and directory upon completion: fixed
Contact form
The swf file: fixed bugs and issues and made more robust.
if files were selected for upload, then all the files delete from the list and the form submitted, an error was thrown by flash: now it’s taken into account
some other minor bugs fixed
if something is not working right, please check out the flash log file (flash player debugger version is required) as important information can be output about what the cause of the problem might be
This version should be installed ASAP!
http://www.flashcomponents.net/component/contact_form_mail_with_attachments.html?ref=pinosh

