Solved

Not sure if this is really a cgi question

Posted on 2000-03-06
3
160 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now