Simple Download - 2
I've followed the "Creating a Digital Download" instructions (pages 5 - 7) in "Getting Started with Digital File Pro 2" document from Web Assist website. I put the button on a dynamic PHP page. I run it through a "Test Site" from Dreamweaver and I get no error messages. I upload the PHP page to the remote server and run it and get no errors. When I push the "Download" button, nothing downloads.
When I look at the code that's created by Digital File Pro 2 in the actual final PHP page, the download button has 3 lines. The 1st line is: <form id="form1" name="form1" methods="post" action=""> The 2nd line is <input type="submit" name="download" id="download" value="Download"/> The 3rd line is </form>.
One obvious problem already is that the file that's to be downloaded (a PDF file) shows up nowhere in the code even though in the steps for creating the "Download behavior" (page 6 of Digital File Pro 2 instructions) I specified the folder field, the final name, and the "save as" field. For some reason, it does not show up in the code, so it seems the button worked but was not linked to the file I wanted to send. I checked and made sure that the file was in the root directory in both my local Mac and the remote server. Why isn't the actual file information getting into the PHP file?
One last piece of info is that I'm not linking this download button to any database table. I don't care about counting or restricting the number of downloads. I just want it to download. The instructions imply that if you don't want to link to send counts to a database table, then leave that lower section in the download steps unselected (it looks "grayed out"). I assume this is not my problem. Is the true or not?