Posted by Oli Filth on 11/24/05 01:27
Stefan Mueller said the following on 23/11/2005 23:12:
>>PHP does remove all the PHP statements!
>>There are no PHP statements in the string:
>>From: "User" <user@inter.net>
>>This is what gets sent to the browser.
>
>
> I know you're right, but doesn't the PHP server send the email with mail()
> before the browser gets the statements?
?
Your original code snippet was:
> <?php
> $name = "User";
> $email = "user@inter.net";
> $header = "From: \"$name\" <$email>";
> echo $header;
> ?>
No mail() involved...
--
Oli
[Back to original message]
|