Passing a url-specified value through a form
- From: "Phil" <blizz81@xxxxxxxxx>
- Date: 30 Jan 2007 10:12:23 -0800
I have two php scripts - one to create an html form, and one for
submission of the form that among other things, emails the values of
the form out.
When accessing the first script, I am appending a variable value to
the end of the url that I would like passed through so that I can
include it in the email I'm sending out in the second form. As of
now, I've tried the following:
In script one
============
<input type="hidden" name="machineid" value="<?php echo $mid; ?>">
In script two
============
$webmaster_subject = "Ticket from " . $_REQUEST['machineid'] . ": " .
$_REQUEST['probsummary'];
If I do a <?php echo $mid; ?> , the value of ?mid=blah appears
correctly in the first script. However, in the email, the value is
blank. I grabbed the input type hidden line from another web site -
not sure if that's how it should be done or not with my intent of
passing the variables.
Any help would be appreciated. Let me know if you need more
information. Thanks
.
- Follow-Ups:
- Re: Passing a url-specified value through a form
- From: Sami
- Re: Passing a url-specified value through a form
- From: P Pulkkinen
- Re: Passing a url-specified value through a form
- Prev by Date: RE: [PHP] Parsing mail file
- Next by Date: RE: [PHP] Can't get PHP extension to Load
- Previous by thread: Can't get PHP extension to Load
- Next by thread: Re: Passing a url-specified value through a form
- Index(es):
Relevant Pages
|