Re: ��NJU-0.9�����募����毓���(2)
- 作者
- doom9@bbs.nju.edu.cn
- 日期
�薷暮��遣���要��bbspst.c����一��
printf(" <a href=bbsupload?board=%s>�洗�����</a><br>\n", board);
����通��页��也������
��������IE选��图片之��“�洗���时���?
Server error!
The server encountered an internal error and was unable to complete your
request.
Error message:
Premature end of script headers: bbsupload2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you think this is a server error, please contact the webmaster
Error 500
202.116.160.52
Sun 22 Jun 2003 09:40:20 PM CST
Apache/2.0.40 (Red Hat Linux)
����么�?
�� �� rwayan.bbs@sbbs.seu.edu.cn (����) �拇������到: ��
: ������
: 1. �薷�showfile.c [��选��]
: 使�������募�时��������募�������showfile.*
: ���牵�����时���募���
: �������拢�
: - int cat(int fid) {
: + int cat(int fid,char *fshowname) {
: char file[80], buf[4000];
: FILE *fp;
: int r;
: sprintf(file, UPLOAD_PATH"/%d", fid);
: + fshowname[35]=0;
: ....
: - printf("Content-type: application/octet-stream;\n\n");
: + printf("Content-Disposition: filename=%s\nContent-type: a\
: pplication/octet-stream;\n\n",fshowname);
: 2.�薷�Makefile
: bbsfwd bbsmnote bbsdenyall bbsdenydel bbsdenyadd \
: bbstopb10 bbsbfind bbstty [41mbbsupload bbsupload2 bbsudel bbsfdoc
: bbsdoupload showfile bbsfexp[m \
: (��������省�� ... ...)
--
[m[1;36m�� ��源:���暇���学小�俸�站 bbs.nju.edu.cn��[FROM: 202.116.160.57][m