Reply to Re: Why can't I create the string "User" <user@inter.net>

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация