可能服务器端的配置问题;
最好安装新版的APACHE,MYSQL;
最好安装新版的APACHE,MYSQL;
解决方案 »
- zendstudio怎么用?
- PHP类中函数与变量作用域的问题
- 远程抓取EMS信息,验证码无效,请指教
- WINDOWS XP上安装apache错误
- 头大了,请高手来解决下,谢谢了!!!
- The specified CGI application misbehaved by not returning a complete set of HTTP headers
- 通用表单生成程序(php+mysql)
- 很多人反映说安装不了我的论坛,怎么办?
- 随机数种子有什么用? 他是怎样影响随机数的输出结果的?
- 哪里可以申请支持PHP的网站?
- 急急急!!!高手进来看看,这功能是不是真的不能实现
- 如何使用PHP来监视页面的二次点击?---->100分!!!
http://www.51oib.com/php.php
可能是存成了UTF-8格式的.
<meta>只是文字的定义~~~html符号是不变的~~但他现在是连html都没有啊~~TO: xiaomu (农民) 你是不是使用了编译工具啊??
啥都出不来呀 555
贴出你的程序看看
require("./global.php");
require('./include/function.php');
//amiao模板分类开始;
if($templatepath=='amiao'){
$articlesorts=$db->query("SELECT categoriseid,categorisename FROM ".$tablepre."categorise WHERE layers=1 ORDER BY categoriseid ASC");
while($articlesort=$db->array_row()){
eval("\$main_amiao_sort .= \"".gettemplate('sort_amiao_article.html')."\";");
}}
//amiao模板分类结束;
eval("\$header .= \"".gettemplate('header.html')."\";");//最新文章;
$newarticle=$db->query("SELECT id,title,date,counts FROM ".$tablepre."article WHERE news=0 && imagearticle=0 ORDER BY id DESC LIMIT 0,$main_page_num;");
while($newarticle=$db->array_row()){
$newarticle[title]=substrgb($newarticle[title],$index_str_nums); //标题截取;
eval("\$new_article .= \"".gettemplate('newarticle.html')."\";");}//公告;
$announce=$db->query("SELECT id,title,date FROM ".$tablepre."article WHERE news=1 ORDER BY id DESC LIMIT 0,10;");
while($announce=$db->array_row()){
eval("\$main_announce .= \"".gettemplate('announce.html')."\";");
}
//热门文章x;
if($head_article_yes!='1'):
$head_article=' && imagearticle=0 ';
endif;
$toparticle=$db->query("SELECT id,title,date,counts FROM ".$tablepre."article WHERE news=0 ".$head_article." ORDER BY counts DESC LIMIT 0,$top_article_num;");
while($topartilce=$db->array_row()){
eval("\$main_top_article .= \"".gettemplate('toparticle.html')."\";");
}//if($templatepath!='amiao'){
//通用分类;$articlesorts=$db->query("SELECT categoriseid,categorisename,layers FROM ".$tablepre."categorise ORDER BY listid;");
while($articlesort=$db->array_row()){ if($articlesort[layers]<=1){
$layernums='';
}else{
$layernums=' '; for($i=0;$i<$articlesort[layers]-1;$i++){
$layernums.=' ';
}
}
eval("\$main_sort .= \"".gettemplate('sortarticle.html')."\";");
}$articleimg=$db->query("SELECT ".$tablepre."article.id,".$tablepre."article.title,".$tablepre."article.text,".$tablepre."attachment.filepath
FROM ".$tablepre."article,".$tablepre."attachment
WHERE ".$tablepre."article.imagearticle=1 && ".$tablepre."article.id=".$tablepre."attachment.imagearticle
ORDER BY ".$tablepre."article.id DESC
LIMIT $images_nums");//$articleimg=$db->object_row($articleimg);while($articleimg=$db->array_row()){
$articleimg[text]=substrgb($articleimg[text],$imgstr);
eval("\$main_articleimg .= \"".gettemplate('articleimg.html')."\";");
}//投票
$poll=$db->query("SELECT pollid,polltext,polltitle FROM ".$tablepre."poll ORDER BY pollid DESC LIMIT 1");
$poll=$db->object_row($poll);$polltext=explode("|||",$poll->polltext);
$pollnums=sizeof($polltext);for($i=0;$i<$pollnums;$i++){
eval("\$main_poll .= \"".gettemplate('poll.html')."\";");
}
//结束投票
eval("\$footer .= \"".gettemplate('footer.html')."\";");
eval("dooutput(\"".gettemplate('main.html')."\");");
?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
你说加上这个吗?
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">我觉得要是编码错误的话图片啥的应该能出来 啊 现在是啥都不行
你的里面有了这个了hehe~~两个了呵呵
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<HTML>
<HEAD>
<TITLE>东方国际书局</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link href="./template/oib/images/css.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY BGCOLOR=#DADADA topmargin="0">
<!-- ImageReady Slices (layout.psd) -->
<TABLE WIDTH=760 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 bordercolor="#111111" style="border-collapse: collapse; border-style: solid; border-width: 1">
<TR>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=167 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=55 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=9 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=9 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=26 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=23 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=8 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=11 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=12 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=32 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=8 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=6 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=8 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=10 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=2 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=56 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=29 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=16 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=25 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=19 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=26 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=42 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=15 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=31 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=62 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=21 HEIGHT=1></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=32 HEIGHT=1></TD>
<TD></TD>
</TR>
<TR>
<TD COLSPAN=7> <IMG SRC="./template/oib/images/oib_01.gif" WIDTH=297 HEIGHT=145></TD>
<TD COLSPAN=6 ROWSPAN=2> <IMG SRC="./template/oib/images/oib_02.gif" WIDTH=77 HEIGHT=190></TD>
<TD COLSPAN=13 ROWSPAN=2> <IMG SRC="./template/oib/images/oib_03.gif" WIDTH=354 HEIGHT=190></TD>
<TD ROWSPAN=2> <IMG SRC="./template/oib/images/oib_04.gif" WIDTH=32 HEIGHT=190></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=145></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=4> <IMG SRC="./template/oib/images/oib_05.gif" WIDTH=297 HEIGHT=113></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=45></TD>
</TR>
<TR>
<TD COLSPAN=19> <IMG SRC="./template/oib/images/oib_06.gif" WIDTH=431 HEIGHT=16></TD>
<TD ROWSPAN=3> <IMG SRC="./template/oib/images/oib_07.gif" WIDTH=32 HEIGHT=68></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=16></TD>
</TR>
<TR>
<TD COLSPAN=2> <IMG SRC="./template/oib/images/oib_08.gif" WIDTH=23 HEIGHT=27></TD>
<TD> <a href="http://www.51oib.com"><IMG SRC="./template/oib/images/oib_09.gif" WIDTH=32 HEIGHT=27 border="0"></a></TD>
<TD COLSPAN=4> <IMG SRC="./template/oib/images/oib_10.gif" WIDTH=32 HEIGHT=27></TD>
<TD COLSPAN=2> <a href="http://www.51oib.com"><IMG SRC="./template/oib/images/oib_11.gif" WIDTH=58 HEIGHT=27 border="0"></a></TD>
<TD> <IMG SRC="./template/oib/images/oib_12.gif" WIDTH=29 HEIGHT=27></TD>
<TD COLSPAN=3> <a href="http://www.folkcn.org/oib/buy" target="_blank"><IMG SRC="./template/oib/images/oib_13.gif" WIDTH=60 HEIGHT=27 border="0"></a></TD>
<TD> <IMG SRC="./template/oib/images/oib_14.gif" WIDTH=26 HEIGHT=27></TD>
<TD COLSPAN=2> <a href="http://www.folkcn.org" target="_blank"><IMG SRC="./template/oib/images/oib_15.gif" WIDTH=57 HEIGHT=27 border="0"></a></TD>
<TD> <IMG SRC="./template/oib/images/oib_16.gif" WIDTH=31 HEIGHT=27></TD>
<TD> <a href="http://www.51oib.com/list.php?typeid=1"><IMG SRC="./template/oib/images/oib_17.gif" WIDTH=62 HEIGHT=27 border="0"></a></TD>
<TD> <IMG SRC="./template/oib/images/oib_18.gif" WIDTH=21 HEIGHT=27></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=27></TD>
</TR>
<TR>
<TD COLSPAN=19> <IMG SRC="./template/oib/images/oib_19.gif" WIDTH=431 HEIGHT=25></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=25></TD>
</TR>
<TR>
<TD COLSPAN=7> <IMG SRC="./template/oib/images/oib_20.gif" WIDTH=297 HEIGHT=38></TD>
<TD COLSPAN=4> <IMG SRC="./template/oib/images/oib_21.gif" WIDTH=63 HEIGHT=38></TD>
<TD COLSPAN=16 bgcolor="#FFFFFF"><font color="#000099" size="3"><strong>海上明月共潮生
——东方国际书局十年华诞</strong></font><br></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=38></TD>
</TR>
<TR>
<TD COLSPAN=7> <IMG SRC="./template/oib/images/oib_23.gif" WIDTH=297 HEIGHT=34></TD>
<TD COLSPAN=20> <IMG SRC="./template/oib/images/oib_24.gif" WIDTH=463 HEIGHT=34></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=34></TD>
</TR>
<TR>
<TD COLSPAN=3 valign="top" bgcolor="#FFFFFF"><table width="" height="9" border="0" cellpadding="0" cellspacing="0">
<tr></tr>
</table></TD>
<TD COLSPAN=2 background="./template/oib/images/oib_26.gif"> </TD>
<TD COLSPAN=22 valign="top" bgcolor="#FFFFFF"> <MARQUEE id=news onmouseover=this.stop() style="BOTTOM: 0px; TOP: 0px; HEIGHT: 190px; TEXT-ALIGN: left" onmouseout=this.start() scrollAmount=1 scrollDelay=10 direction=up behavior=loop border="0"> <table width="100%" height="297" border=0 cellpadding=2 cellspacing=2 style="TABLE-LAYOUT: fixed"><tbody><tr><td width="100%" height="100%" style="WORD-WRAP: break-word"><strong><font size="2"><a href="http://www.51oib.com"> </a></font></strong><a href="http://www.51oib.com"><font size="2"><strong>东方国际书局,英文全称
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=93></TD>
</TR>
<TR>
<TD COLSPAN=27> <IMG SRC="./template/oib/images/oib_28.gif" WIDTH=760 HEIGHT=14></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=14></TD>
</TR>
<TR>
<TD ROWSPAN=2> <IMG SRC="./template/oib/images/oib_29.gif" WIDTH=167 HEIGHT=40></TD>
<TD colspan="21" background="./template/oib/images/oib_33.gif"><div align="center"><font size="2" face="Arial">Copyright
© 2002 <a href="http://www.51oib.com"><strong>东方国际书局</strong></a> All Rights
Reserved.</font></div></TD>
<TD COLSPAN=5 ROWSPAN=2> <IMG SRC="./template/oib/images/oib_39.gif" WIDTH=161 HEIGHT=40></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=28></TD>
</TR>
<TR>
<TD COLSPAN=21> <IMG SRC="./template/oib/images/oib_40.gif" WIDTH=432 HEIGHT=12></TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=12></TD>
</TR>
<TR>
<TD COLSPAN=27 bgcolor="#FFFFFF"> </TD>
<TD> <IMG SRC="./template/oib/images/Spacer.gif" WIDTH=1 HEIGHT=23></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML><!--页面生成时间0.146818(s)-->
Date: Sat, 05 Jul 2003 07:41:25 GMT
Server: Apache
location: http://www.pipni.cz/
Content-Length: 0
Connection: close
Content-Type: text/html
头部信息中的location怎么总是定位到http://www.pipni.cz/去呢?
; 那样做可能对处理或以日志记录它有用.
; 例如若你将这个output_handler 设为"ob_gzhandler",
; 则输出会被透明地为支持gzip或deflate编码的浏览器压缩.
; 设一个输出处理器自动地打开输出缓冲.
http://www.51oib.com/11.php
其实这个我们可以看到的
http://www.51oib.com/php.php?style=sky&testinfo=phpinfo
<?php
echo "msg";
exit();
?>
然后将这代码向下代入,代到哪里发现显示乱码哪里找问题了 怎么看都不象服务器出问题,还有大家都是用的GB2312字符集浏览的,也就是说,输出的字符集也是没问题的,那问题在哪?应该在输出的问题上了 你找找