Gudday all
At work we have produced a CD/DVd for our customers that will give them a catalogue, manuals, documentation etc: rather than having to download from our site.
We are ready to go except for a copyright notice that we wish to have appear 1st and the customer must agree to the notice before they can view the documentation e.g. ‘Do you accept the terms - Yes or No?’.
We will use either a check box or a button.
What is the best way to program this - PHP or JS or something else?
The documentation is a mixture of html and PDFs. The navigation is the html while the final docs are the pdf.
I know that it is done for installing software and assume that it is considered reliable and secure enough but I really do not know how to go about setting it up.
Any advice greatly appreciated.
(Mods - if in wrong area then by all means throw into the correct bin)
I’d recommend that you use some sort of server side language to accomplish this such as PHP. If you use javascript it’s unreliable as the user could have javascript turned off and would not be required to “check” the box. 85%-90% of your users will have javascript enabled but that leaves 10%-15% of them able to download your product without actually agreeing to the copyright notice.
Using a server side language like PHP leaves no potential for loopholes. The agreement page would appear and the user is requested to check the box. Upon submitting the form the result page checks server side if that box was checked. If not, it kicks back an error. If it was, it then offers the document or product for download.
If PHP isn’t available then any server side language will work.
I didn’t realize this was coded on the CD itself - thought it was a website to get access to the CD. In that case, web programming won’t work. You could try javascript but you’re still opening up loopholes.
Maybe it would be better to write a simple autoplay program that when the CD/DVD is inserted runs with the copyright notice, then opens the table of contents document in the default browser.
Alternatively, you can edit your documents with a note that says: “By using the CD-ROM you are accepting the terms of the copyright notice found [here]” and then put a link to the copyright notice. Packaging of the DVD could also include this warning.