Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Not sure if this is really a cgi question

Posted on 2000-03-06
3
Medium Priority
?
191 Views
Last Modified: 2013-12-25
I have a cgi script which collects information from a page and creates a second page of inputs. I need to include the information from the original page and the second page in an e-mail using sendmail. What is the best way of passing the information between the pages ?
0
Comment
Question by:benwilkinson
3 Comments
 
LVL 1

Expert Comment

by:ercis
ID: 2590231
best way of passing the information between the pages is putting it in hidden fields of POST <form>
0
 
LVL 1

Accepted Solution

by:
stephenblade earned 200 total points
ID: 2590476
OK lets see ... Suppose you were doing this with perl and all the results of the first page got sent to the form and were placed in variables ie($form{'Email'}) etc. well have the cgi spit out the second page except this time after the <form action ="some.cgi"> line
hide the info from the original page like so...


<input type="hidden" name="EMAIL" value="some@boy.com">
<input type="hidden" name="NAME" value="Me Jones">

And when you submit this to the second form it can send an email to you containing everything. I can whip up the exact code if you wish..
0
 

Author Comment

by:benwilkinson
ID: 2620633
Thanks very much
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question