Solved

Not sure if this is really a cgi question

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now