摘要: <head><script>startList = function() {if (document.all&&document.getElementById) {navRoot = document.getElementById("nav");for (i=0; i<navRoot.childNodes.length; i++) {node = navRoot.childNodes[ i ];if (node.nodeName=="LI") {node.onmouseover=function() {thi 阅读全文
posted @ 2011-04-01 16:25 FreeSpider 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 这东西把我害死了,交上去的项目文件均出现乱码,被技术组长狠狠地BS了一把。项目开始之初强调了utf8的编码,但居然还有no bom & bom 区分。痛苦啊!!搞了个 kill utf8-bom 的php脚本,实现 convert utf-bom to utf8-nobom。 把以下代码保存为:killbom.php,放在要转换的文件根目录下执行即可。<?php if (isset($_GET['dir'])){ //config the basedir $basedir=$_GET['dir']; }else{ $basedir = '. 阅读全文
posted @ 2011-04-01 15:37 FreeSpider 阅读(1180) 评论(0) 推荐(0) 编辑
摘要: Warning: Cannot modify header information – headers already sent by….这类语句,造成这个原因是因为setcookie语句的问题。上网找了半天,有人说要在文件开头写上ob_start();output_buffering 改成4096 也失败失败。后来打开 php.ini 然后把 output_buffering 设为 on 。重起IIS或appache,OK。看来这才是解决办法。 阅读全文
posted @ 2011-04-01 14:24 FreeSpider 阅读(513) 评论(0) 推荐(1) 编辑
摘要: 1. ucenter/data/config.inc.php 和 uchome/config.php需要修改2. 需要修改网站目录的everyone的修改奇权限 阅读全文
posted @ 2011-04-01 08:29 FreeSpider 阅读(210) 评论(0) 推荐(0) 编辑