close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Files uploading, but where?

Thread began 6/29/2010 4:10 pm by Blikbrein | Last modified 6/29/2010 6:07 pm by Jason Byrnes | 417 views | 1 replies |

Blikbrein

Files uploading, but where?

I've created a form - baicform.php

2 fields require images to be uploaded

These images should be uploaded to the applicants folder and the whole form posts to the thankyouapplication.php page.

This page is set up to mail(before page load)the form content + attach the 2 uploaded files to selected email.

Only the form field detail is mailed. Files are not uploaded to the selected folder nore attached to the email.

There are so many places I could have gone wrong. What must I change?

Wanted to upload files, but manage attachment button does not open anything when clicked...

Attached Files
Archive.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have the action of the form set to post to the thankyouapplication.php page, this is by passing the image upload function.

set the form to post to itself instead.


you will also need to apply the universal email behavior to the baicform.php page instead of the thankyouapplication.php. you can set the universal email to redirect to the thankyouapplication.php page after the email is sent.

to attach the uploaded files to the email, on the attachments tab, select entered Value.

Click the lightning bolt next to value and Expand the Uploaded Files (Files field Name) Binding group. Select the Server Directory binding.

this will add code similar to:
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverDirectory"]; ?>


copy that code and then click the lightning bolt again, select the server File Name Binding. This will add code similar to:
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]; ?>


you will need to past the previous code in front so it looks like:
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverDirectory"]; ?><?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]; ?>

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...