Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

adding a hidden form input value into a cgi script itself

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
ebinc
Asked:
ebinc
1 Solution
 
chingfaiCommented:
<input type=hidden name="recipient" value="$recipient"> should work... but
$recipient = "email\@myhost.com";

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now