Skip navigation
Currently Being Moderated


May 9, 2011 11:32 AM

In DW CS5 I would like to set up a page that would capture the individuals name and email address (they put it in) and it is forwarded to me. After that is done they are allowed to access a separate page and or be able to print out a PDF file.


Can this be done in DW and how? I dont know how to write script etc.





  • Currently Being Moderated
    May 10, 2011 5:27 AM   in reply to LostMIke

    From your description I'm sure DW could do what you want.  The weak link is that you need to know what you want it to do!


    I don't think that you can achieve your aim without some scripting.  This tutorial seems to do what you are looking for and you might get some clues from it.  If you research enough, I imagine there will be something already written for you.  It will just be a case of finding it, downloading it and following some instructions.  The alternative is to learn something like PHP and build it yourself.




    <oops>Forgot the link: ith-Limits-Tutorial/



    And there's this thread which says pretty much the same thing:

    Mark as:
  • Currently Being Moderated
    May 10, 2011 9:58 AM   in reply to LostMIke



    As I replied to your previous question regarding this, (to which you did not reply) you will have to use a server-side language.


    First ensure your hosting provider uses/allows php, then -

    1. Purchase - mail.
    2. Follow the instructions given in the documentation for sending an email with attachment on form/email success.


    You will have to have dreamweaver installed to use this extension.


    Alternatively find someone who does html/css/php development, and pay them to do this for you, this will probably cost more than purchasing the extension, but if you do not know php, is possibly a better solution.



    Mark as:
  • Currently Being Moderated
    May 10, 2011 3:56 PM   in reply to LostMIke

    As PZ said, the best way to do this would be with PHP.  This is fairly simple scripting, and if you have the time it is a worthwhile skill to have.  The easiest way to do this would probably be to set up a page with a form that links to the pdf.  It would look something like this:


    <!-- in form.php -->




              $body = "Form downloaded by:\nName:\t" . $_RECEIVE['name'] . "\nEmail:\t" . $_RECEIVE['email'];

              mail("", "Subject", $body);

              header("Location: redirectToHere.pdf");



    <!-- the rest of the html including: -->

    <form method="post" action="form.php">

         Name: <input type="text" name="name" size="20"><br />

         Email: <input type="text" name="email" size="20"><br />

         <input type="submit" name="submit" value="Submit">



    Should be that simple.



    Mark as:
  • Currently Being Moderated
    May 12, 2011 3:35 PM   in reply to LostMIke

    Where ever you want to store the pdfs.  Just make sure that the PHP has:

    header("Location: [location of pdf goes here]");

    So long as that points to a valid file location, you should be fine.



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points