Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Send CGI form Variable to another cgi form

    I have a web site http://action-webs.com created by Frontpage 2k. It uses a cgi script to look for available domain names.

    If the name is available there is a link that loads a form to order the domain name regdomain.htm Assuming the domain name is thishastowork.com this is the url to call the order page.

    http://www.action-webs.com/regdomain...shastowork.com

    When the new page loads the form should have the domain name filled in.

    This is the current attempt to pass the variable.

    <form name="reg_domain" Action="/cgi-bin/formmail/formmail.cgi" method="get">
    <input type="text" name="domain_name" size="40"></p>

    I also tried "method = post" I have tried adding value=$domain

    The best I can get is the text $domain as a default value.

    Thank you for any help

    eddie

  • #2
    New Coder
    Join Date
    Aug 2002
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parse your Order Form.

    Filling out the fields in form

    You've got to have perl read your regdomain.htm file, and output it to the browser, using the substitution scheme I outlined there.

    With straight cgi... you just cant say... stick this variable someplace, without telling how to do it, or giving it the means to do it.

    1. Read new registration page into variable.
    2. substitute searched value for zdomainname on your html page.
    3. Output page to browser.


  •  

    Posting Permissions

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