<HTML>
<TITLE> UNTITLED </TITLE>
<? Php
Include "connect. inc. php ";
If ($ subject ){
$ Query = "select name, email from user ";
$ Res = mysql_query ($ query );
$ Row = mysql_fetch_array ($ res );
While ($ row ){
Mail ($ row ['email '], $ subject, $ row ['name']. ": n". $ text. "n China advertising network, grow with you. Www. guanggaocn. comn "," From: ". $ mailaddress );
$ Row = mysql_fetch_array ($ res );
}
Echo "<script language = 'javascript '> ";
Echo "parent. location. href = 'Welcome. php '";
Echo "</script> ";}
?>
<BODY>
<P align = CENTER> <font face = "" SIZE = "7" COLOR = "# FF0000"> group email <BR> </FONT>
<P align = LEFT> <form name = "email" ACTION = "email. php" METHOD = "POST">
<Font face = "文" SIZE = "6" COLOR = "# 0000FF"> subject: <input type = text name = "subject" SIZE = "50" MAXLENGTH = "18" value = <? Php echo $ subject?> <BR>
Email content: <textarea name = "text" COLS = "90" ROWS = "3" value = "<? Php echo $ text?> "> </TEXTAREA> <BR>
</FONT>
<Input type = submit value = Send email> </FORM>
</BODY>
</HTML>
[This article is copyrighted by the author and osuo. If you need to reprint it, please indicate the author and its source]