Solved

Not sure if this is really a cgi question

Posted on 2000-03-06
3
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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 …
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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