Re: Passing a url-specified value through a form
- From: "P Pulkkinen" <perttu.POISTATAMA.pulkkinen@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 21:47:38 +0200
Just to make sure: is the second script TARGET attribute of the form in
first script, as it should be? Are the OTHER visible or hidden form fields
availalbe/printable in the second script, as they should be?
Do in the second script:
echo $_REQUEST['machineid'];
to make sure that you are receiving the form variable.
This next piece is directly from php documentation. It may or may not help
you...
<?php
$to = 'nobody@xxxxxxxxxxx';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@xxxxxxxxxxx' . "\r\n" .
'Reply-To: webmaster@xxxxxxxxxxx' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
.
- Follow-Ups:
- References:
- Passing a url-specified value through a form
- From: Phil
- Passing a url-specified value through a form
- Prev by Date: Re: [PHP] nested, referenced foreach & implicit current array pointer issues
- Next by Date: Re: Passing a url-specified value through a form
- Previous by thread: Passing a url-specified value through a form
- Next by thread: Re: Passing a url-specified value through a form
- Index(es):
Relevant Pages
|