Solved

adding a hidden form input value into a cgi script itself

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Introduction to Processes

729 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