Solved

adding a hidden form input value into a cgi script itself

Posted on 2003-11-06
4
228 Views
Last Modified: 2010-04-17
I found a cgi form script called (bform) infosheets.com that works great but the recipient email and other important data must be included in hidden input tags that can be seen by viewing the soarce code of a page example
<input type=hidden name="recipient" value="email@myhost.com">
My question is how can I put a input value in the script itself I tried $recipient then edited a bit but it will not work no matter what, I have a little understanding but need help.
0
Comment
Question by:ebinc
[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
4 Comments
 

Accepted Solution

by:
chingfai earned 125 total points
ID: 9711691
<input type=hidden name="recipient" value="$recipient"> should work... but
$recipient = "email\@myhost.com";

Give it a try. Notice \@ in $recipient.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
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…

622 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