那在普通bbs2www界面里面这个附件能显示吗?我没有这个问题。
【 在 luobeng@lzusiyu.org (罗嘣) 的大作中提到: 】
: 我得phplibbbs.c中
: snprintf(buf, MAXPATH, "%s/%s_%d", ATTACHTMPPATH, currentuser->userid, getcurrentuinfo_num());
: 然后site.php
: $attachdir="/home/bbs/boards/_attach/" . $userid . "_" . $utmpnum ;
: 发附件了以后,能显示有附件,但是附件,例如,图片,显示不出来,
: 点击以后出现下面若干错误
: Warning: unpack(): Type N: not enough input, need 4, have 0 in /home/siyuwww/htdocs/wForum/bbscon.php on line 133
: Warning: Cannot modify header information - headers already sent by (output started at /home/siyuwww/htdocs/wForum/bbscon.php:133) in /home/siyuwww/htdocs/wForum/bbscon.php on line 135
: Warning: Cannot modify header information - headers already sent by (output started at /home/siyuwww/htdocs/wForum/bbscon.php:133) in /home/siyuwww/htdocs/wForum/bbscon.php on line 137
: Warning: Cannot modify header information - headers already sent by (output started at /home/siyuwww/htdocs/wForum/bbscon.php:133) in /home/siyuwww/htdocs/wForum/bbscon.php on line 138
: ...................
--