close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

download button does not trigger download

Thread began 5/17/2012 5:48 pm by provicon2000407155 | Last modified 5/18/2012 9:40 am by Jason Byrnes | 769 views | 1 replies |

provicon2000407155

download button does not trigger download

i have created download button as specified in user manual.

but when I click the download button, the file download does not get triggered.

only code generated by digital file pro is below..


<?php
WA_DFP_SetupDownloadStatusStruct("WA_DownloadResult1");
if(isset($_POST["download"])){
WA_DFP_DownloadFile("WA_DownloadResult1", "/weekly_pdf/", "".$_SESSION['MM_Username'] .".pdf ", "".$_SESSION['MM_Username'] .".pdf ", false, false, false, "", "", "", "");
}
?>


and the form that has download button looks below..

<form name="form1" method="post" action="">
<label>
<input type="submit" name="download" id="download" value="Download">
</label>
</form>


I THINK I NEED TO ADD SOMETHING IN THE DOWNLOAD BUTTON THAT WILL TRIGGER DOWNLOAD process.. but it doesn't say how I should update the code in the user manual.

Can anybody tell me how I should update above codes in order to trigger download process??

Sign in to reply to this post

Jason ByrnesWebAssist

the code you have looks like it should work, if the download is not triggering, it's because the file cannot be found.


you have the same question in another thread, see my response there:
showthread.php?p=128071#post128071

asking the same question in multiple threads will not get you an answer any quicker.

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