You are here: Re: Why can't I create the string "User" <user@inter.net> « All PHP « IT news, forums, messages
Re: Why can't I create the string "User" <user@inter.net>

Posted by Stefan Mueller on 11/24/05 01: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?

<?php
$headers .= "From: \"User\" <user@inter.net>\n";
...
mail($var_to, $var_subject, $var_body, $var_headers);
?>

I'm really confused
Stefan

 

Navigation:

[Reply to this 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

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