Solved

Not sure if this is really a cgi question

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

756 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