C
Carl H
Guest
I have a (signup)form on a html site and Im using php to send/see the form. The content is missing in my emails when I retrieve the emails. I don't see the questions or answers in my email. Whats wrong? Do I need a database? Just a blank page.
the question are on the html web page. I have to put that same questions on the php page too that's in the server? As far as the questions, I need a little more info.
this is my php page on the server:
<FORM METHOD=post ACTION="/cgi-bin/mail.php">
Your Email: <input name="[email protected],[email protected]" type="text" />
Feedback/Comments:
<textarea name="message" rows="15" cols="40">
</textarea>
<input type="submit" VALUE="Form"/>
</form>
and have a php file that contains this:
<?php
$email = $_REQUEST['[email protected]'] ;
$message = $_REQUEST['message'] ;
mail( "[email protected]", " SignUp",
$message, "From: [email protected]" );
header( "Location: thanks.html" );
?>
should I put something in the ['message']?
the question are on the html web page. I have to put that same questions on the php page too that's in the server? As far as the questions, I need a little more info.
this is my php page on the server:
<FORM METHOD=post ACTION="/cgi-bin/mail.php">
Your Email: <input name="[email protected],[email protected]" type="text" />
Feedback/Comments:
<textarea name="message" rows="15" cols="40">
</textarea>
<input type="submit" VALUE="Form"/>
</form>
and have a php file that contains this:
<?php
$email = $_REQUEST['[email protected]'] ;
$message = $_REQUEST['message'] ;
mail( "[email protected]", " SignUp",
$message, "From: [email protected]" );
header( "Location: thanks.html" );
?>
should I put something in the ['message']?