Solved

adding a hidden form input value into a cgi script itself

Posted on 2003-11-06
4
225 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 104
Identify two keyboard codes and how to enter them 9 82
How to Have Macro Files Automatically "Edit" 5 68
statistics basics sources 2 70
A short article about a problem I had getting the GPS LocationListener working.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

738 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