<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[陈冠希's Blog - 技术资料]]></title>
<link>http://zmv.cc/</link>
<description><![CDATA[创造机会的人是勇者；等待机会的人是愚者]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[PKKT@163.COM(CGX)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>陈冠希&#39;s Blog</title>
	<url>http://zmv.cc/images/logos.gif</url>
	<link>http://zmv.cc/</link>
	<description>陈冠希&#39;s Blog</description>
</image>

			<item>
			<link>http://zmv.cc/article/web3/27.html</link>
			<title><![CDATA[宝塔安装php拓展ImageMagick报错解决方案]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Fri,04 Oct 2024 11:44:30 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=27</guid>
		<description><![CDATA[<p>宝塔安装扩展的时候提示安装错误</p>
<p>报错提示：</p>
<div class="codeText">
<div class="codeHead">Delphi代码</div>
<ol start="1" class="dp-delphi">
    <li class="alt"><span><span>configure:&nbsp;error:&nbsp;</span><span class="keyword">not</span><span>&nbsp;found.&nbsp;Please&nbsp;provide&nbsp;a&nbsp;path&nbsp;</span><span class="keyword">to</span><span>&nbsp;MagickWand-config&nbsp;</span><span class="keyword">or</span><span>&nbsp;Wand-config&nbsp;</span><span class="keyword">program</span><span>.&nbsp;&nbsp;</span></span></li>
    <li><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;</span></li>
    <li><span>make:&nbsp;***&nbsp;No&nbsp;targets&nbsp;specified&nbsp;<span class="keyword">and</span><span>&nbsp;no&nbsp;makefile&nbsp;found.&nbsp;Stop.&nbsp;&nbsp;</span></span></li>
    <li class="alt"><span>error&nbsp;|-Successify&nbsp;---&nbsp;命令已执行!&nbsp;---&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>&nbsp;</p>
<p>90%的报错服务器为：Ubutnu和Debian系统</p>
<p>我用的就是Debian系统。</p>
<p>以Debian系统演示，只需要更新一下软件包及Glibc版本就行</p>
<ol>
    <li>更新软件包</li>
</ol>
<div class="codeText">
<div class="codeHead">XML/HTML代码</div>
<ol start="1" class="dp-xml">
    <li class="alt"><span><span>apt-get&nbsp;update&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2.更新<span style="color: rgb(0, 0, 255);">Glibs</span>为2.0版本</p>
<div class="codeText">
<div class="codeHead">Python代码</div>
<ol start="1" class="dp-py">
    <li class="alt"><span><span>apt-get&nbsp;install&nbsp;libc6-dev&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p><span style="background-color: rgba(0, 0, 0, 0); font-family: Consolas, monospace-fallback, &quot;monospace&quot;; font-size: 14px;">如果遇到这个问题：</span><span style="color: rgb(255, 0, 0);"><span style="background-color: rgba(0, 0, 0, 0); font-family: Consolas, monospace-fallback, &quot;monospace&quot;; font-size: 14px;">Do you want to continue? [Y/n] </span><span style="color: rgb(0, 0, 255);"><span style="background-color: rgba(0, 0, 0, 0); font-family: Consolas, monospace-fallback, &quot;monospace&quot;; font-size: 14px;">选：Y &nbsp;</span></span></span></p>
<p><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 255);"><span style="background-color: rgba(0, 0, 0, 0); font-family: Consolas, monospace-fallback, &quot;monospace&quot;; font-size: 14px;">&nbsp;</span></span></span></p>
<!--StartFragment--><!--EndFragment-->
<p>&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/24.html</link>
			<title><![CDATA[优化你的CSS代码~!【转载】]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Sat,28 Sep 2024 03:48:07 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=24</guid>
		<description><![CDATA[最近看过许多网友制作的SKIN的CSS文件，发现其中有着许多冗余的代码。下面我来跟大家介绍一下，如何清除这些冗余的代码，让你的CSS文件更加简洁。<br/><br/>　　一、margin、padding属性<br/>　　参照相关资料我们可以知道，margin和padding代表的意思分别是外部边距和内部填充距离，在许多网友的CSS中，关于这两个属性的冗余代码是出现得最多的。比如：margin:0px，大家可以查看一下自己的CSS文件中，是否许多的margin:0px，其中有的是不需要的，你可以尝试删除它，当然也并不是所有的margin:0px都没有用，相同，padding:0px也一样。<br/><br/>　　另外，margin和padding中各项属性的顺序是：上右下左，你只要记住是顺时针方向就好了。我们再看看这两段代码：<br/>margin:0px 0px 0px 10px；<br/>margin-left:10px；<br/>其实他们的作用是一样的，下面的则是一种缩写，使用缩写我们可以减少CSS代码，并使阅读起来更为方便。（padding也相同。）<br/><br/>　　二、!important;属性<br/>　　!important是CSS1就定义的语法，作用是提高指定样式规则的应用优先权。IE是不支持这个语法的，而其他的浏览器都支持，通过这一点，我们可以得知，设置了优先权的代码是不会被IE执行的。所以我们可以important的后面添加CSS样式，使其可以区别于IE和FireFox等浏览器。<br/><br/>　　上次在看Miles的CSS代码时，我看到了这样一句：<br/>height:50px !important;height:50px;<br/>　　这里就是多余的了，我们可以这样写：height:50px就够了，这个错误在我刚开始制作CSS时也曾出现过。<br/><br/>　　三、text-align、font样式<br/>　　这两个样式的作用我就不说了，但是这两个样式在许多网友的CSS中也存在许多冗余。下面我来举例说明一下，层的定义如下：<br/>&lt;div id=&#34;main&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&#34;body1&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&#34;content1&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&#34;body2&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;div&gt;<br/>CSS文件如下（错误示例）：<br/>#main{width:500px;text-algin:left;font-size:12px;color:#000000;}<br/>#body1{width:500px;text-algin:center;font-size:12px;color:#FF0000;}<br/>#content{text-algin:left;font-size:12px;color:#000000;}<br/>#body2{text-algin:left;font-size:12px;color:#000000;}<br/><br/>　　大家可以从上面的代码中轻易地看出，有许多的冗余代码，现在我们来书写正确的代码：<br/>#main{width:500px;text-algin:left;font-size:12px;color:#000000;}<br/>#body1{text-algin:center;color:#FF0000;}<br/>#content{width:300px;text-algin:left;color:#000000;}<br/>#body2{}<br/><br/>　　以上就是正确的代码，由于大家在制作SKIN时，对PJBLOG的DIV结构没搞清楚，才会出现这种错误。<br/><br/>　　四、display:none的使用<br/>　　display:none的作用就是使被定义的层不显示。我们再来看看这段代码：<br/>#blogTitle{font-size:0px;margin:10px 3px 3px 40px;height:20px;color:#FFC1E6;display:none}<br/><br/>　　大家有没有觉得这有些多余呢，是的，既然设置了不显示，为何还要保留那些不必要的样式呢？出现这种情况我就知道，这个SKIN是改自某人的。<br/><br/>　　五、还是margin和padding<br/>　　我还是通过例子来给大家说明，层的定义同上，以下是CSS的定义（错误示例）：<br/>#main{margin:5px 0px 5px 0px;}<br/>#body1{margin:12px 0px 10px 0px;}<br/>#content{margin:8px 0px 2px 0px;}<br/>#body2{margin:10px 0px 15px 0px;}<br/><br/>　　现在我们再来书写正确的样式：<br/>#main{}<br/>#body1{margin-top:17px ;}<br/>#content{margin:8px 0px 2px 0px;}<br/>#body2{margin:20px 0px ;}<br/><br/>　　这里需要大家制作一下示例才能了解，首先#main{margin:5px 0px 5px 0px;}是没有必要的，他无非定义的就是整个页面的上、下外边距。（在一定场合下却需要这样书写）我们同样可以通过定义#body1的上边距和#body2的下边距来设置，所以才有了#body1{margin-top:17px ;}和#body2{margin:20px 0px ;}（这里定义的是#body2的上下边距为20px，左右边距为0px，也是缩写的一种方式。）<br/><br/>　　同样的道理，于是我们可以省略了#body1的下边距，在#content层在定义上边距，另外大家还需要先弄清楚层的嵌套关系，否则就会出错。<br/><br/>　　好了，写到这里我也该去睡了，以上就是这些时间查看大家的CSS文件获得的经验，希望对大家书写CSS的时候有所帮助，制作出来的SKIN更加简洁、明了。]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/23.html</link>
			<title><![CDATA[Div+CSS布局入门教程(四)【转载】]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Sat,28 Sep 2024 03:46:18 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=23</guid>
		<description><![CDATA[<img src="http://zmv.cc/download.asp?id=16" border="0" alt=""/><br/>三、页面顶部制作(2)----使用列表&lt;li&gt;制作菜单<br/><br/>　　开始此节的学习前，请确认你已经参照之前的几节内容写入了DIV、CSS到index.htm和css.css文件中。<br/>　　这一节我将告诉大家如何用列表&lt;li&gt;来制作菜单。<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code57715);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code57715><br/>&lt;div id=&#34;menu&#34;&gt;<br/>&nbsp;&nbsp; &lt;ul&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;首页&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;博客&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;设计&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;相册&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;论坛&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;li&gt;&lt;a href=&#34;#&#34;&gt;关于&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp; &lt;/ul&gt;<br/>&nbsp;&nbsp;&lt;/div&gt;<br/></div></div><br/>以上是这部分的结构，有关于&lt;ul&gt;&lt;/ul&gt;、&lt;li&gt;&lt;/li&gt;这两个HTML元素大家自己去参考相关的内容吧，它们最主要的作用就是在HTML中以列表的形式来显示一些信息。<br/><br/>　　还有一点需要大家一定要分清楚的，当在HTML中定义为id=&#34;divID&#34;时，在CSS对应的设置语法则是#divID{} ，如果在HTML中定义为class=&#34;divID&#34;时，则在CSS中对应的设置语法是.divID。<br/>　　如果id=&#34;divID&#34;这个层中包括了一个&lt;img&gt;&lt;/img&gt;，则这个img在CSS中对应的设置语法应该是#divID img {}，同样，如果是包含在class=&#34;divID&#34;这个层中时，则设置语法应该是.divID img {}，这一点希望大家要分清楚了。<br/>　　另外，HTML中的一切元素都是可以定义的，例如table、tr、td、th、form、img、input...等等，如果你要在CSS中设置它们，则直接写入元素的名称加上一对大括号{}就可以了。所有的CSS代码都应该写在大括号{}中。<br/><br/>　　按照上面的介绍，我们先在css.css中写入以下代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code31416);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code31416>#menu ul {list-style:none;margin:0px;}<br/>#menu ul li {float:left;}</div></div><br/>解释一下：<br/>　　#menu ul {list-style:none;margin:0px;}<br/>　　list-style:none，这一句是取消列表前点，因为我们不需要这些点。<br/>　　margin:0px，这一句是删除UL的缩进，这样做可以使所有的列表内容都不缩进。<br/><br/>　　#menu ul li {float:left;}<br/>　　这里的 float:left 的左右是让内容都在同一行显示，因此使用了浮动属性(float)。<br/><br/>　　到这一步，建议大家先保存预览一下效果，我们再添加下面的内容，效果如下：<br/><img src="http://zmv.cc/download.asp?id=17" border="0" alt=""/><br/>这时，列表内容是排列在一行，我们在#menu ul li {}再加入代码margin:0 10px：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code83754);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code83754>#menu ul {list-style:none;margin:0px;}<br/>#menu ul li {float:left;margin:0 10px}</div></div><br/>margin:0 10px的作用就是让列表内容之间产生一个20像素的距离(左：10px，右：10px)，预览的效果如下：<br/><br/><img src="http://zmv.cc/download.asp?id=18" border="0" alt=""/><br/>现在，雏形已经出来了，我们再来固定菜单的位置，把代码改成如下：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code26739);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code26739><br/>#menu {padding:20px 20px 0 0}<br/>/*利用padding:20px 20px 0 0来固定菜单位置*/<br/>#menu ul {float:right;list-style:none;margin:0px;}<br/>/*添加了float:right使得菜单位于页面右侧*/<br/>#menu ul li {float:left;margin:0 10px}<br/></div></div><br/>这时，位置已经确定了，可是构思图中，菜单选项之间还有一条竖线，怎么办呢？<br/>　　别忘了，我们早就已经留好了一个空的&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;，要想加入竖线就使用它了。<br/>　　按照上面说的方法，我们再添加以下代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code50901);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code50901>.menuDiv {width:1px;height:28px;background:#999}</div></div><br/>保存预览一下，竖线是否已经出来了？关于这段代码就不多讲了，应该是很容易理解的。<br/><img src="http://zmv.cc/download.asp?id=19" border="0" alt=""/><br/>不过，菜单选项的文字却在顶部，我们再修改成以下代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code78414);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code78414>#menu ul li {float:left;margin:0 10px;display:block;line-height:28px}</div></div><br/>关于display:block;line-height:28px大家可以去参阅一下手册，我就不多讲了。<br/><br/>　　效果基本上已经实现了，剩下的就是修改菜单的超链接样式，在css.css中添加以下代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code42761);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code42761>#menu ul li a:link,#menu ul li a:visited {font-weight:bold;color:#666}<br/>#menu ul li a:hover{}</div></div><br/>这个也不多说了，没什么好说的了，最后的效果如下：<br/><br/><img src="http://zmv.cc/download.asp?id=20" border="0" alt=""/><br/><br/>HTML和CSS源文件：<br/><br/><span id="down_98774fd4zy"></span><script language="javascript" type="text/javascript">doAjax('?action=Antidown&id=21&downurl=download%2Easp%3Fid%3D21&main=%E7%82%B9%E5%87%BB%E4%B8%8B%E8%BD%BD%E6%AD%A4%E6%96%87%E4%BB%B6','down_98774fd4zy');</script><br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/22.html</link>
			<title><![CDATA[Div+CSS布局入门教程(三)【转载】]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Sat,28 Sep 2024 03:37:29 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=22</guid>
		<description><![CDATA[三、页面顶部制作(1)<br/><br/>　　当我们写好了页面大致的DIV结构后，我们就可以开始细致地对每一个部分进行制作了。<br/><br/>　　在上一章中我们写入了一些样式，那些样式是为了预览结构而写入的，我们把css.css中的样式全部清除掉，重新写入以下样式代码：<br/>程序代码 程序代码:<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code70046);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code70046><br/>/*基本信息*/<br/>body {font:12px Tahoma;margin:0px;text-align:center;background:#FFF;}<br/>a:link,a:visited {font-size:12px;text-decoration:none;}<br/>a:hover{}<br/><br/>/*页面层容器*/<br/>#container {width:800px;margin:10px auto}<br/></div></div><br/>样式说明：<br/><br/>　　a:link,a:visited {font-size:12px;text-decoration:none;}<br/>　　a:hover {}<br/><br/>　　这两项分别是控制页面中超链接的样式，具体我就不说明了，请大家参阅手册。<br/><br/>　　#container {width:800px;margin:10px auto}<br/><br/>　　指定整个页面的显示区域。<br/>　　width:800px指定宽度为800像素，这里根据实际所需设定。<br/>　　margin:10px auto，则是页面上、下边距为10个像素，并且居中显示。<br/>　　上一章中我们讲过，对层的margin属性的左右边距设置为auto可以让层居中显示。<br/><br/>　　接下来，我们开始制作TOP部分，TOP部分包括了LOGO、菜单和Banner，首先我们要做的就是对设计好的图片进行切片，以下是在FW下完成的切片：<br/><img src="http://zmv.cc/download.asp?id=15" border="0" alt=""/><br/>我将TOP部分切片为两部分，第一部分包括了LOGO和一条横线。由于LOGO图片并没有太多的颜色，这里我于是将这一部分保存为GIF格式，调色板选择为精确，选择Alpha透明度，色版为白色(此处颜色应与背景色相同)，导出为logo.gif，图像宽度为800px。<br/><br/>　　到这里，有的朋友就说了，* 为什么要使用GIF格式？使用JPEG不是更好吗？<br/>　　因为GIF格式的图片文件更小，这样能使页面载入的速度更快，当然使用此格式之前必须确定图片并没有使用太多的颜色，当我们使用了GIF格式时，从肉眼上并不能看出图片有什么太大的变化，因此这是可行的。<br/><br/>　　* 接下来的Banner部分还能使用GIF格式吗？<br/>　　答案是不能，因为Banner部分是一个细致的图片，如果使用GIF格式颜色会有太大的损失，所以必须使用JPEG格式，将文件导出为banner.jpg。<br/><br/>　　* 合理的切片是非常之重要的，因为切片的方法正确与否决定了CSS书写的简易程度以及页面载入速度。<br/><br/>　　切好片后，我们还需要对TOP部分进行分析并将DIV结构写入Header中代码如下：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code42938);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code42938>&lt;div id=&#34;menu&#34;&gt;<br/>　　　&lt;ul&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;首页&lt;/a&gt;&lt;/li&gt;<br/>　　　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;博客&lt;/a&gt;&lt;/li&gt;<br/>　　　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;设计&lt;/a&gt;&lt;/li&gt;<br/>　　　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;相册&lt;/a&gt;&lt;/li&gt;<br/>　　　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;论坛&lt;/a&gt;&lt;/li&gt;<br/>　　　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　　　&lt;li&gt;&lt;a href=&#34;#&#34;&gt;关于&lt;/a&gt;&lt;/li&gt;<br/>　　　&lt;/ul&gt;<br/>　　&lt;/div&gt;<br/>　　&lt;div id=&#34;banner&#34;&gt;<br/>　　&lt;/div&gt;</div></div><br/>为什么要这么写呢，因为对菜单使用列表&lt;li&gt;形式，可以在以后方便对菜单定制样式。<br/><br/>　　而为什么要添加以下代码呢？<br/>　　&lt;li class=&#34;menuDiv&#34;&gt;&lt;/li&gt;<br/>　　插入这一段代码是可以方便地对菜单选项之间插入一些分隔样式，例如预览图中的竖线分隔。<br/><br/>　　然后我们在css.css中再写入以下样式：<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code50819);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code50819>/*页面头部*/<br/>#header {background:url(logo.gif) no-repeat}</div></div><br/>样式说明：<br/>　　#header {background:url(logo.gif) no-repeat}<br/>　　给页面头部分加入一个背景图片LOGO，并且不作填充。<br/><br/>　　这里，我们没有指定header层的高度，为什么不指定呢？<br/><br/>　　因为header层中还有菜单和banner项，所以层的高度暂时是未知的，而层的属性又可以让层根据内容自动设定调整，因此我们并不需要指定高度。<br/><br/>　　* 接下来，我们开始制作菜单，留到下一章，教程中相关文件请到下一章下载！<br/>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/21.html</link>
			<title><![CDATA[Div+CSS布局入门教程(二)【转载】]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Sat,28 Sep 2024 03:32:53 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=21</guid>
		<description><![CDATA[二、写入整体层结构与CSS<br/><br/>　　接下来我们在桌面新建一个文件夹，命名为“DIV+CSS布局练习”，在文件夹下新建两个空的记事本文档，输入以下内容：<br/>程序代码 ：<br/><span style="color:#000000">[color=#0000ff]&lt;</span><span style="color:#0000ff">!</span>DOCTYPE <span style="color:#008000">html</span> PUBLIC <span style="color:#ff00ff">&#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;</span> <span style="color:#ff00ff">&#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;</span><span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span><span style="color:#008000">html</span> xmlns<span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;</span><span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span>head<span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span>meta http<span style="color:#0000ff">-</span>equiv<span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;Content-Type&#34;</span> content<span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;text/html; charset=gb2312&#34;</span> <span style="color:#0000ff">/</span><span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span>title<span style="color:#0000ff">&gt;</span>无标题文档<span style="color:#0000ff">&lt;</span><span style="color:#0000ff">/</span>title<span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span>link href<span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;css.css&#34;</span> rel<span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;stylesheet&#34;</span> <span style="color:#008000">type</span><span style="color:#0000ff">=</span><span style="color:#ff00ff">&#34;text/css&#34;</span> <span style="color:#0000ff">/</span><span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span><span style="color:#0000ff">/</span>head<span style="color:#0000ff">&gt;</span><br/><br/><span style="color:#0000ff">&lt;</span>body<span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span><span style="color:#0000ff">/</span>body<span style="color:#0000ff">&gt;</span><br/><span style="color:#0000ff">&lt;</span><span style="color:#0000ff">/</span><span style="color:#008000">html</span><span style="color:#0000ff">&gt;</span>[/color]<br/><br/>　　这是XHTML的基本结构，将其命名为index.htm，另一个记事本文档则命名为css.css。<br/><br/>　　下面，我们在&lt;body&gt;&lt;/body&gt;标签对中写入DIV的基本结构，代码如下：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code33407);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://zmv.cc/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code33407><br/>&lt;div id=&#34;container&#34;&gt;&lt;!--页面层容器--&gt;<br/>　　&lt;div id=&#34;Header&#34;&gt;&lt;!--页面头部--&gt;<br/>　　&lt;/div&gt;<br/>　　&lt;div id=&#34;PageBody&#34;&gt;&lt;!--页面主体--&gt;<br/>　　　　&lt;div id=&#34;Sidebar&#34;&gt;&lt;!--侧边栏--&gt;<br/>　　　　&lt;/div&gt;<br/>　　　　&lt;div id=&#34;MainBody&#34;&gt;&lt;!--主体内容--&gt;<br/>　　　　&lt;/div&gt;<br/>　　&lt;/div&gt;<br/>　　&lt;div id=&#34;Footer&#34;&gt;&lt;!--页面底部--&gt;<br/>　　&lt;/div&gt;<br/>&lt;/div&gt;<br/></div></div><br/><br/>为了使以后阅读代码更简易，我们应该添加相关注释，接下来打开css.css文件，写入CSS信息，代码如下：<br/><br/>程序代码 程序代码<br/><br/>/*基本信息*/<br/>body {font:12px Tahoma;margin:0px;text-align:center;background:#FFF;}<br/><br/>/*页面层容器*/<br/>#container {width:100%}<br/><br/>/*页面头部*/<br/>#Header {width:800px;margin:0 auto;height:100px;background:#FFCC99}<br/><br/>/*页面主体*/<br/>#PageBody {width:800px;margin:0 auto;height:400px;background:#CCFF00}<br/><br/>/*页面底部*/<br/>#Footer {width:800px;margin:0 auto;height:50px;background:#00FFFF}<br/><br/>　　把以上文件保存，用浏览器打开，这时我们已经可以看到基础结构了，这个就是页面的框架了。<br/>　　关于以上CSS的说明（详细请参考CSS2.0中文手册，网上有下载）：<br/><br/>　　1、请养成良好的注释习惯，这是非常重要的；<br/><br/>　　2、body是一个HTML元素，页面中所有的内容都应该写在这标签对之内，我就不多说了；<br/><br/>　　3、讲解一些常用的CSS代码的含义：<br/><br/>　　　　font:12px Tahoma；<br/>　　　　这里使用了缩写，完整的代码应该是：font-size:12px;font-family:Tahoma；说明字体为12像素大小，字体为Tahoma格式；<br/><br/>　　　　margin:0px；<br/>　　　　也使用了缩写，完整的应该是：<br/><br/>　　　　margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px<br/>　　　　或<br/>　　　　margin:0px 0px 0px 0px<br/><br/>　　　　顺序是 上 / 右 / 下 / 左，你也可以书写为margin:0(缩写)；<br/>　　　　以上样式说明body部分对上右下左边距为0像素，如果使用auto则是自动调整边距，<br/>　　　　另外还有以下几种写法：<br/>　　　　margin:0px auto；<br/>　　　　说明上下边距为0px，左右为自动调整；<br/>　　　　我们以后将使用到的padding属性和margin有许多相似之处，他们的参数是一样的，<br/>　　　　只不过各自表示的含义不相同，margin是外部距离，而padding则是内部距离。<br/><br/>　　　　text-align:center<br/>　　　　文字对齐方式，可以设置为左、右、中，这里我将它设置为居中对齐。<br/><br/>　　　　background:#FFF<br/>　　　　设置背景色为白色，这里颜色使用了缩写，完整的应该是background:#FFFFFF。<br/>　　　　background可以用来给指定的层填充背景色、背景图片，以后我们将用到如下格式：<br/>　　　　background:#ccc url(&#39;bg.gif&#39;) top left no-repeat；<br/>　　　　表示：使用#CCC(灰度色)填充整个层，使用bg.gif做为背景图片，<br/>　　　　top left<br/>　　　　表示图片位于当前层的左上端，no-repeat表示仅显示图片大小而不填充满整个层。<br/>　　　　top/right/left/bottom/center<br/>　　　　用于定位背景图片，分别表示 上 / 右 / 下 / 左 / 中；还可以使用<br/>　　　　background:url(&#39;bg.gif&#39;) 20px 100px;<br/>　　　　表示X座标为20像素，Y座标为100像素的精确定位；<br/>　　　　repeat/no-repeat/repeat-x/repeat-y<br/>　　　　分别表示 填充满整个层 / 不填充 / 沿X轴填充 / 沿Y轴填充。<br/><br/>　　　　height / width / color<br/>　　　　分别表示高度(px)、宽度(px)、字体颜色(HTML色系表)。<br/><br/>　　4、如何使页面居中？<br/>　　　　大家将代码保存后可以看到，整个页面是居中显示的，那么究竟是什么原因使得页面居中显示呢？<br/>　　　　是因为我们在#container中使用了以下属性：<br/>　　　　margin:0 auto;<br/>　　　　按照前面的说明，可以知道，表示上下边距为0，左右为自动，因此该层就会自动居中了。<br/>　　　　如果要让页面居左，则取消掉auto值就可以了，因为默认就是居左显示的。<br/>　　　　通过margin:auto我们就可以轻易地使层自动居中了。<br/><br/>　　5、这里我只介绍这些常用的CSS属性了，其他的请参看CSS2.0中文手册。<br/>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/20.html</link>
			<title><![CDATA[Div+CSS布局入门教程(一)【转载】]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Sat,28 Sep 2024 03:28:51 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=20</guid>
		<description><![CDATA[一、页面布局与规划<br/><br/>　　好久没有认真写点东西了，想起最近这些时间经常有朋友问到我有关于DIV+CSS布局的问题，其实归根结底还是由于没有入门造成的。那么接下来的这篇文章就带领大家入门吧...<br/><br/>　　在网页制作中，有许多的术语，例如：CSS、HTML、DHTML、XHTML等等。在下面的文章中我们将会用到一些有关于HTML的基本知识，而在你学习这篇入门教程之前，请确定你已经具有了一定的HTML基础。下面我们就开始一步一步使用DIV+CSS进行网页布局设计吧。<br/><br/>　　所有的设计第一步就是构思，构思好了，一般来说还需要用PhotoShop或FireWorks(以下简称PS或FW)等图片处理软件将需要制作的界面布局简单的构画出来，以下是我构思好的界面布局图。<br/><br/><br/><br/><img src="http://zmv.cc/download.asp?id=11" border="0" alt=""/><br/><br/>下面，我们需要根据构思图来规划一下页面的布局，仔细分析一下该图，我们不难发现，图片大致分为以下几个部分：<br/>　　1、顶部部分，其中又包括了LOGO、MENU和一幅Banner图片；<br/>　　2、内容部分又可分为侧边栏、主体内容；<br/>　　3、底部，包括一些版权信息。<br/>　　有了以上的分析，我们就可以很容易的布局了，我们设计层如下图：<br/><br/><img src="http://zmv.cc/download.asp?id=12" border="0" alt=""/><br/>根据上图，我再画了一个实际的页面布局图，说明一下层的嵌套关系，这样理解起来就会更简单了。<br/><br/><br/><img src="http://zmv.cc/download.asp?id=13" border="0" alt=""/><br/><br/>DIV结构如下：<br/>　　│body {}　/*这是一个HTML元素，具体我就不说明了*/<br/>　　└#Container {}　/*页面层容器*/<br/>　　　　　├#Header {}　/*页面头部*/<br/>　　　　　├#PageBody {}　/*页面主体*/<br/>　　　　　│　├#Sidebar {}　/*侧边栏*/<br/>　　　　　│　└#MainBody {}　/*主体内容*/<br/>　　　　　└#Footer {}　/*页面底部*/<br/>　　至此，页面布局与规划已经完成，接下来我们要做的就是开始书写HTML代码和CSS。<br/>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/13.htm</link>
			<title><![CDATA[重装PJBLOG系统-必须备份的文件]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Wed,18 Sep 2024 01:14:52 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=13</guid>
		<description><![CDATA[<h2>修改了很多次的，总结了一下pjblog的备份的方法：</h2>
<p><span style="font-size: 14px;">1.备份blogDB目录下的数据库 </span></p>
<p><span style="font-size: 14px;">2.备份attachments目录下的文件，这个目录里都是上传的附件 </span></p>
<p><span style="font-size: 14px;">3.备份Plugins目录下的文件，这里面都是BLOG的插件 </span></p>
<p><span style="font-size: 14px;">4.备份skins目录下的文件，这里面都是皮肤文件 </span></p>
<p><span style="font-size: 14px;">5.备份根目录下的plugins.asp文件 </span></p>
<p><span style="font-size: 14px;">6.备份post文件夹，这个里面保存具体的日志数据。没有这个不能正常显示具体日志内容。 </span></p>
<p><span style="font-size: 14px;">7.备份cache这个文件夹，这个里保存主页上显示的内容，没这个主页上显示不了东西。</span></p>
<h2>还原：</h2>
<p><span style="font-size: 14px;">1.把mbk文件上专到backup文件夹，进pjblog后台&mdash;&mdash;数据库与附件&mdash;&mdash;数据库管理&mdash;&mdash;点还原数据库&mdash;&mdash;看好了是还原数据库，不是压缩修复。</span></p>
<p><span style="font-size: 14px;"> 2.然后把备份的这些文件全部覆盖就可以了。  注：以上方法只适合于对毫无修改的博客，如果想和以前的博客效果一样，请按照以前的修改方法修改。 重装PJBLOG系统-必须备份的文件</span></p>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/12.htm</link>
			<title><![CDATA[PJBlog给日志新增一个【置顶】图标]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Wed,18 Sep 2024 00:03:40 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=12</guid>
		<description><![CDATA[<p><span style="font-size: 14px;">PJBlog置顶的日志标题不够醒目，没有任何标识。</span></p>
<p><span style="font-size: 14px;">我们加个醒目的标题  PJBlog分静态日志和动态日志两种模式，且静态和动态时都有普通显示和列表显示日志的选项 </span></p>
<p><span style="font-size: 16px;">本教程只修改静态模式下模板</span></p>
<p><span style="font-size: 16px;">静态普通模式： </span></p>
<p><span style="font-size: 16px;">打开class/cls_logAction.asp </span></p>
<p><span style="font-size: 16px;">   搜索：</span></p>
<div class="codeText">
<div class="codeHead">ASP/Visual Basic代码</div>
<ol start="1" class="dp-vb">
    <li class="alt"><span><span>Temp1&nbsp;=&nbsp;Replace(Temp1,&nbsp;</span><span class="string">&quot;<$log_Title$>&quot;</span><span>,&nbsp;HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>&nbsp;</p>
<p>改为：</p>
<div class="codeText">
<div class="codeHead">ASP/Visual Basic代码</div>
<ol start="1" class="dp-vb">
    <li class="alt">&nbsp;</li>
    <div class="codeText">
    <div class="codeHead">ASP/Visual Basic代码</div>
    <ol start="1" class="dp-vb">
        <li class="alt"><span><span>if&nbsp;log_View(</span><span class="string">&quot;log_IsTop&quot;</span><span>)&nbsp;then&nbsp;&nbsp;</span></span></li>
        <li><span>&nbsp;&nbsp;&nbsp;&nbsp;Temp1=Replace(Temp1,<span class="string">&quot;<$log_Title$>&quot;</span><span>,</span><span class="string">&quot;<img&nbsp;src=&quot;</span><span class="string">&quot;images/zd.png&quot;</span><span class="string">&quot;&nbsp;height=&quot;</span><span class="string">&quot;18&quot;</span><span class="string">&quot;&nbsp;&nbsp;width=&quot;</span><span class="string">&quot;18&quot;</span><span class="string">&quot;&nbsp;align=&quot;</span><span class="string">&quot;left&quot;</span><span class="string">&quot;&nbsp;alt=&quot;</span><span class="string">&quot;置顶&quot;</span><span class="string">&quot;/>&quot;</span><span>&HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
        <li class="alt"><span>&nbsp;<span class="keyword">Else</span><span>&nbsp;&nbsp;</span></span></li>
        <li><span>&nbsp;&nbsp;&nbsp;&nbsp;Temp1=Replace(Temp1,<span class="string">&quot;<$log_Title$>&quot;</span><span>,HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
        <li class="alt"><span>&nbsp;<span class="keyword">End</span><span>&nbsp;if&nbsp;&nbsp;</span></span></li>
    </ol>
    </div>
    <li class="alt">&nbsp;</li>
</ol>
</div>
<p>&nbsp;</p>
<p>静态列表模式：</p>
<p>搜索：</p>
<div class="codeText">
<div class="codeHead">ASP/Visual Basic代码</div>
<ol start="1" class="dp-vb">
    <li class="alt"><span><span>Temp2&nbsp;=&nbsp;Replace(Temp2,&nbsp;</span><span class="string">&quot;<$log_Title$>&quot;</span><span>,&nbsp;HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
</ol>
</div>
<p>改为：</p>
<div class="codeText">
<div class="codeHead">ASP/Visual Basic代码</div>
<ol start="1" class="dp-vb">
    <li class="alt">&nbsp;</li>
    <div class="codeText">
    <div class="codeHead">ASP/Visual Basic代码</div>
    <ol start="1" class="dp-vb">
        <li class="alt"><span><span>if&nbsp;log_View(</span><span class="string">&quot;log_IsTop&quot;</span><span>)&nbsp;then&nbsp;&nbsp;</span></span></li>
        <li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Temp2=Replace(Temp2,<span class="string">&quot;<$log_Title$>&quot;</span><span>,</span><span class="string">&quot;<img&nbsp;src=&quot;</span><span class="string">&quot;images/zd.png&quot;</span><span class="string">&quot;&nbsp;height=&quot;</span><span class="string">&quot;18&quot;</span><span class="string">&quot;&nbsp;&nbsp;width=&quot;</span><span class="string">&quot;18&quot;</span><span class="string">&quot;&nbsp;align=&quot;</span><span class="string">&quot;left&quot;</span><span class="string">&quot;&nbsp;alt=&quot;</span><span class="string">&quot;置顶&quot;</span><span class="string">&quot;/>&quot;</span><span>&HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
        <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">Else</span><span>&nbsp;&nbsp;</span></span></li>
        <li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Temp2=Replace(Temp2,<span class="string">&quot;<$log_Title$>&quot;</span><span>,HtmlEncode(log_View(</span><span class="string">&quot;log_Title&quot;</span><span>)))&nbsp;&nbsp;</span></span></li>
        <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">End</span><span>&nbsp;if&nbsp;&nbsp;</span></span></li>
    </ol>
    </div>
    <li class="alt">&nbsp;</li>
</ol>
</div>
<p><b style="font-family: Verdana, Arial, Helvetica, sans-serif;">修改好了后，后台-初始化数据里面--点击Ajax分段静态日志重建就行</b></p>
<p><span style="font-size: 16px;">效果看网站首页置顶效果</span></p>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/11.htm</link>
			<title><![CDATA[关于Pjblog的动静态两个模板]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Tue,17 Sep 2024 23:43:25 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=11</guid>
		<description><![CDATA[<p><span style="font-size: 18px;">\class\目录下</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 18px;">
<p>动态模式模板：<span style="font-family: Tahoma;">cls_default.asp</span></p>
</span></p>
<p><span style="font-size: 18px;">静态模式：class/cls_logAction.asp</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>http://zmv.cc/article/web3/6.htm</link>
			<title><![CDATA[百度ueditor 1.4.3在win2003+IIS6环境下不能上传图片，asp版百度uedito]]></title>
			<author>PKKT@163.COM(admin)</author>
			<category><![CDATA[技术资料]]></category>
			<pubDate>Tue,17 Sep 2024 03:23:13 +0800</pubDate>
			<guid>http://zmv.cc/default.asp?id=6</guid>
		<description><![CDATA[<p>简单的说就是下载一个开发版本，<span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">把ASP目录中的所有文件覆盖原来的，就可以了</span></p><p><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">开发板：</span></p><p style="line-height: 16px;"><img src="http://c.gx.cn/UEditor/dialogs/attachment/fileTypeImages/icon_rar.gif"/><a style="font-size:12px; color:#0066cc;" href="http://zmv.cc//ueditor/php/upload/file/20240917/1726514219309226.zip" title="asp.zip">asp.zip</a></p><p><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">asp里面上传组件uploader.class.asp里的CheckOrCreatePath修改如下：</span><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"></span><br/></p><p></p><p><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">Private Function CheckOrCreatePath( ByVal path )</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set fs = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim parts,serverpath</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;serverpath=lcase(Server.MapPath(&quot;/&quot;))</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path=replace(lcase(path),serverpath,&quot;&quot;)</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;parts = Split( path, &quot;&quot; )</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path = &quot;&quot;</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For Each part in parts</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; path = path + part + &quot;&quot;</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If fs.FolderExists( serverpath & path ) = False Then</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fs.CreateFolder(serverpath & path )</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next</span><br/><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; End Function</span><span style="font-family: Tahoma, Arial; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"><br/></span><br/></p>]]></description>
		</item>
		
</channel>
</rss>
