close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Downloads

Thread began 1/17/2014 12:09 pm by The Flying Fox | Last modified 1/17/2014 12:11 pm by The Flying Fox | 268 views | 1 replies

The Flying Fox

Downloads

Hi me again,

I have a download page on my website

Users can download application forms for the events that we hold.

I have 6 buttons which are connected to PDF files hosted on the server. I have used File Manipulation to upload files with great success but my downloads will not work.

I have followed the guides from http://www.webassist.com/tutorials/Apply-file-upload-or-download

and tried adhoc to see if I could get them to work.

the PHP code for one of the download is

<?php
WA_DFP_SetupDownloadStatusStruct("WA_DownloadResult1");
if(isset($_POST["heavyweight_button"]) || isset($_POST["heavyweight_button_x"])){
WA_DFP_DownloadFile("WA_DownloadResult1", "documents/", "2014heavyweightform.pdf", "Heavy_Weights.pdf", false, false, false, "", "", "", "");
}
?>


The files are in the documents folder

the button code is

<label>heavyweight form</label>
<input type="submit" name="heavyweight_button" id="heavyweight_button" value="download" >

Thanks in advance

Login is not required to download these forms

Andy

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...