...

Send CGI form Variable to another cgi form

eddie
08-11-2002, 03:54 PM
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.htm?domain=thishastowork.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

pager
08-14-2002, 01:03 AM
http://www.codingforums.com/showthread.php?s=&threadid=3407

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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum