麻辣堂|资源主站|开发论坛|在线手册
首页 Apache Linux Java MySQL 注册帮助 
PHP项目开发组是PHP开发资源网于2007组年建成立的项目开发团队,目前核心开发成员有27人, 项目协作成员8名.下设7个开发组,主要承接大/中型网站项目开发任务。

    由于开发任务较多,人员比较紧张,现面向社会招聘全职或者兼职开发人员,不管你是在校大学生,还是全职开发人员,以及SOHO都可以联系本站,我们可以长期合作,并为您带来丰厚的报酬。
  您现在的位置:PHP开发资源网 > 麻辣堂 > 详细资料
待解决
请高手看看页面邮件程序问题
悬赏分:20 - 2007年06月04日

错误提示如下: Warning: stat failed for C:\\Documents and Settings\\tanmz\\My Documents \\My Pictures\\INKERLHIS3.gif (errno=2 - No such file or directory) in /home/admin/httpd/html/eoa/cgi-bin/mail/mail_send.php3 on line 13 ************************************************************************************** (附件不能发送,但邮件发送成功) 源程序如下: <? if (_FUNC_INC_ != "exists") include ("../include/func.inc"); if (_ERROR_INC_ != "exists") include ("../include/error.inc"); include ("$locale_mail"); ?> <?php if(strlen($F_Index)<=0) { $URL = "Location: [url]http://[/url]".$SERVER_NAME ."/mail/mail_content_blank.php3"; header($URL); exit; } print_top(); ?> <script language="javascript"> </script>
 
"); ?>
◎  发送日期 <?php $Conn = do_connect(); $SQL="SELECT * FROM T_Mail WHERE ( C_Index = '$F_Index') ORDER BY C_Index DESC"; Test_print(__FILE__,__LINE__,$SQL); $res = do_sql( $SQL,$Conn ); if( mysql_errno() ) { do_error( mysql_error() ); } $rows = do_fetch_row( $res ); echo ("$rows[11]书写回信书写回信全体回信全体回信转达信件转达信件 <?php $mailaddr=htmlspecialchars($rows[4]); $mailaddr = str_replace(" ", "", $mailaddr); ?>
◎  发送人 <? echo $mailaddr ?> <? echo ("   添加到地址簿\n"); ?>
◎  收信人 <? $rows[6] = str_replace("\\","",$rows[6]); $rows[6] = str_replace("\"\"","\"",$rows[6]); echo htmlspecialchars($rows[6]); ?>
◎  参照 <?php if(strcmp($rows[7],"")==0) echo (" \n"); else { $rows[7] = str_replace("\\","",$rows[7]); $rows[7] = str_replace("\"\"","\"",$rows[7]); $rows[7] = htmlspecialchars($rows[7]); echo ("$rows[7]\n"); } ?>
◎  标题<? echo $rows[8] ?>重要程度:  <? $result=GetPriority($rows[3]); ?>
◎  内容 <? /* if($rows[18] == 0) { $contents = str_replace("\n", "
\n", $rows[9]); $contents = str_replace(" ", "  ", $contents); $contents = str_replace("\t", "        ", $contents); echo("<iframe>"); echo $contents; echo("</iframe>"); } else { echo $rows[9]; } do_free_result($res); */ ?>
<iframe src="mail_html_content.php3?F_Index=<?echo $F_Index?>" width=600 height=300 border=0></iframe> <? $SQL= "SELECT * FROM T_File WHERE C_MIndex = '$F_Index' AND C_Type = 'A'"; Test_print(__FILE__,__LINE__,$SQL); $res = do_sql( $SQL,$Conn ); if( mysql_errno() ) { do_error( mysql_error() ); } $numrows=do_num_rows($res); if(intVal($numrows)==0) { echo " "; } else { echo ("\n\n"); while($file = do_fetch_object( $res )) { echo "\n"; }//// while(1). echo ("
"; GetExtImg( $file->C_File,1 ); echo "
\n"; echo "ddC_File"."\">$file->C_File
(" . Get_Byte($file->C_Size) . ")
\n"); } do_free_result($res); $SQL="UPDATE T_Mail SET C_Read = 'Y' WHERE C_Index = $F_Index"; Test_print(__FILE__,__LINE__,$SQL); $res = do_sql( $SQL,$Conn ); if( mysql_errno() ) { do_error( mysql_error() ); } do_close($Conn); ?>
 

提问者:tryitbest   06-04 15:03
答复
路过。。。顺便帮顶:)
回答者:玉米づ冰冻可乐 - 瓦岗村民 8-22 09:10
我也来回答:
不管你有没有帮助我们,瓦岗寨8万村民将感谢你。。。。。

为防止灌水,您需要计算一道数学题: 答案:
85 + 69 = ? 请将计算结果填在上面

 
[]
©2007 PhpRes.COM