Passing a url-specified value through a form



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

.



Relevant Pages

  • Re: ActiveX Task - Status = Failure or Success
    ... you must prevent the failure in the first place. ... > then on completion runs a second ActiveX Script to set the first Script ... > but then finds it on the second loop (i.e. reports success), ...
    (microsoft.public.sqlserver.dts)
  • Re: Jumping in at the deep end - and drowning I suspect.
    ... The first script I wrote was about a 419 fraud set in America ... The story revolves around the brother convincing authorities that what ...
    (rec.arts.sf.composition)
  • Re: passing data
    ... >>> So my first script is the data engine, I need to pass various commands to ... >>> using another script. ... > I never said I would use a socket solution, ...
    (comp.lang.perl.misc)
  • Re: replacing text on multiple text files
    ... I am writing my first script for work, but I've hit a brick wall. ... rem - your code to modify the file ...
    (microsoft.public.scripting.vbscript)
  • Re: Two-way relationship with multiple records - FM6
    ... you can create a portal to visualise the related data. ... You would have to script that through two ... one in each table or that the first script triggers the ... The fired script goes to the related record. ...
    (comp.databases.filemaker)