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

Download page is not showing purchased file

Thread began 4/06/2010 11:02 am by tolushayoo193471 | Last modified 4/16/2010 7:26 pm by tolushayoo193471 | 1579 views | 17 replies

Eric Mittman

The die statement needs to be inside of the download server behavior or else it will not show all of the values that are being used in that server behavior.

The code should look like what you posted in your previous response:


$_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)){
"WA_DownloadResult1, " "../../mp3/, """.((isset($_POST["hiddenField"]))?$_POST["hiddenField"]:"")  .", " "[FileName], " false false false .  ", "", "", """);  
WA_DFP_DownloadFile("WA_DownloadResult1""../../mp3/""".((isset($_POST["hiddenField"]))?$_POST["hiddenField"]:"")  ."""[FileName]"falsefalsefalse"""""""");

If you are not getting any output from this then the download server behavior is not being triggered. If this is the case you will not download regardless of weather everything else is working correctly for you.

If the code above does not print out the values after you remove the die that you added above the download server behavior then the trigger is not working correctly for you. If this is the case you should update the trigger line of code to look like this:


If you can update the trigger to be like this and get a good result it tells us that the trigger is the bad part. Please give this a try and let us know how it works for you.

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





Ease of use


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