Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Private link

    I am trying to create a link that will be accessed by a user after they have
    completed a online form. Once they complete the form they will be emailed a
    link to a page. I would like to make it so that you can not just cut and paste
    the url to access this page......they should have to complete the online form
    to get to the page. The site i am working on uses php.....i am fairly new to
    php. Any help would be appreciated. thanks, -tom

    Tom Loughlin Guest

  2. Similar Questions and Discussions

    1. Showing the email link from a database link
      Hi Does anyone know how to have an email link show when showing the databse info in a repeating table. Here is the link...
    2. preserve the link to a single Excel cell when updating link
      I want to import a single cell from an Excel spreadsheet into InDesign CS. Initially, I am placing a single cell into a text frame and get the...
    3. how do i link an object in Flash to an HTML link?
      hi ppl, i want to make a link on an HTML page to an object (layer) in a flash window - this should be possible for multiple layers using...
    4. Private Fotopages - private Web Galleries WANTED!
      Hello NG I am still seeking links to private (hobby / non professional/ amateur) fotopages in Australia -or any other Country to be used at...
    5. private folders
      My documents were saved as a "private" folder. I found it necessary to reload my pc. When I did so, I found that I was unable to access my...
  3. #2

    Default Re: Private link

    The best way to do this is to use a session. Managing Sessions is fairly easy
    in PHP. put a session_start(); command at the top of the page. Then after they
    have submitted the form set a session variable along the lines of....
    $_SESSION['completed']=1; Then redirect to the secret url and on that page do a
    session_start(); again at the top of the page and then kick them off the page
    if they don't have the variable set.... eg.. if(!isset($_SESSIOM['completed']))
    { header('Location:defaultPage.html'); } Hope this makes sense, if not post
    again with your specific code......

    Ross Riley Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139