Solved

adding a hidden form input value into a cgi script itself

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

911 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

18 Experts available now in Live!

Get 1:1 Help Now