Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    adi
    adi is offline
    Junior Member
    Join Date
    Dec 2003
    Posts
    2
    Member #
    4152
    Hi all... doing a site with dreamweaver...

    Anyway, what i have is two pages, one of them a normal page with an email entry box, and the other page has an info form the user needs to fill in. I need to capture the email address from the first page and include it inthe form of the second page, in the way of a hidden value, so it can be sent with the form.

    Is there an easy way?

    Many thanks
    adi

  2.  

  3. #2
    Junior Member
    Join Date
    Sep 2003
    Location
    Encino, CA
    Posts
    12
    Member #
    3088
    What language are you using - ASP / PHP?

    If you are using ASP - just dim email (or whatever your input is called) and then between your FORM tags:
    PHP Code:
    <input type="hidden" name="email" size="30" value="<%Response.Write(Request.ServerVariables("email"))%>"

  4. #3
    Senior Member dotcommakers's Avatar
    Join Date
    Oct 2003
    Posts
    527
    Member #
    3342
    Liked
    1 times
    if php


    if php? then...

    PHP Code:
    $remail $HTTP_POST_VARS['email']; 

  5. #4
    adi
    adi is offline
    Junior Member
    Join Date
    Dec 2003
    Posts
    2
    Member #
    4152
    cheers all.. i realise i was jumping ahead of myself.. i've only just started getting into PHP etc and have a while to go before i get round to finishing the page..

    Cheers
    adi


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:10 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com