|
Posted by Ben Ramsey on 06/16/58 11:31
On 11/8/05 10:20 PM, Richard Lynch wrote:
>>I change this line to:
>>
>>mail($to, stripslashes($_POST["subject"]), wordwrap($_POST["message"],
>>60), "From: $_POST["from"]\r\n");
>
> "From: $_POST[from]\r\n"
>
> No quotes.
> No apostrophes.
> Nothin but index.
You can also use curly braces:
"From: {$_POST["from"]}\r\n"
--
Ben Ramsey
http://benramsey.com/
[Back to original message]
|