• UTF-8文件的BOM头的来由及去除方法

    1. 什么是BOM头     在utf-8编码文件中BOM在文件头部,占用三个字节,用来标识该文件属于utf-8编码,现在已经有很多软件识别BOM头,但还是有些不能识别BOM头,比如PHP就不能识别BOM头,这也就是用记事本编辑utf-8编码的PHP文件后,就会报错的原因。 2. 包含BOM头文件的产生     在windows环境下,用记事本打开任何一个文本文件,另存为utf-8格式后,这样文件就自动被加上了BOM头信息。    ...阅读全文
    作者:admin | 分类:技术文章 | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 轻量化文本编辑工具editplus2.12.106

    editplus2.12.106推荐版本,原因是有高亮显示代码,这个在编写代码时会感觉很舒服,这个版本找了很久了,原因是以前用过,但不知道那里用的,测试了很多个版本才找到这个。   下载地址:Editplus2.12.106.rar   阅读全文
    作者:admin | 分类:辅助工具 | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 用户、组或角色 'bjgs' 在当前数据库中已存在。 

    用户、组或角色 'bjgs' 在当前数据库中已存在。 (Microsoft SQL Server,错误: 15023) 在使用SQL Server 2000时,我们经常会遇到一个情况:需要把一台服务器上的数据库转移到另外一台服务器上。而转移完成后,需要给一个"登录"关联一个"用户"时,往往会发生错误: “错误15023:当前数据库中已存在用户或角色” 这个问题非常棘手,几经排常找到了原因与解决方法,因为这个问题与解决方法均比较...阅读全文
    作者:admin | 分类:MSSQL | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    | 标签:
  • wordpress禁止替换双引号

    wrodpress发布的文章,代码中的英文双引号,会被替换成中文双引号。 方法一:一句代码修改主题目录下themes/主题/functions.php文件 remove_filter('the_content', 'wptexturize'); 这个方法还是不错的,简单不需要安装下面所说的插件,而且在WP程序升级的时候不会有影响。这句话就是用来禁止wptexturize函数,只能在内容中有效,标题,评论等是没有效的。 方法二: Quotmarks Replacer插件 阅读全文
    作者:admin | 分类:Wordpress | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • ftp命令(windows自带FTP上传下载工具)

    windows自带的上传和下载工具,这个方便而且实用,下面介绍它的用法,主要参数 help 帮助 FTP命令行格式为: ftp -v -d -i -n -g [主机名] ,下面是ftp命令的参数的解释 其中 -v 显示远程服务器的所有响应信息; -n 限制ftp的自动登录,即不使用;、n etrc文件; -d 使用调试方式; -g 取消全局文件名。 open 打开IP dir[remote-dir][local-file]:显示远程主机目录,并将结果存入本地文件...阅读全文
    作者:admin | 分类:Windows | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • IIS v6.0 完整版下载

    此版本是IIS v6.0完整版。 iis6缺失文件打包(w3dt.mof/w3dt.mfl/w3isapi.mfl/w3isapi.mof 等) 升级了SP2以后安装的IIS6.0 而现在的系统文件又不是SP1的,所有在IIS6.0安装的时候会提示少很多文件 网络上面下载的所谓IIS完整安装包都不完整。 提示少文件,大部分都少下列文件: achg.asp ADSUTIL.VB_ aexp2b.asp aexp4b.asp appsrv.msc asp.mfl iisadmin.mfl iisadmin.mof iispwchg.dll w3c...阅读全文
    作者:admin | 分类:IIS | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 12306漏洞分析和泄露数据(共13万条)

    今天疯传12306网站漏洞导致用户密码泄露事件,本站也得到相同的文档,从数据中可以看到总共是131653条真实数据,登陆几乎全部有效,看来是最新的,该数据基本上可以确认为黑客通过“撞库攻击”所获得。撞库攻击原理是很多用户在不同网站使用的是相同的账号密码,因此黑客可以通过获取用户在A网站的账户从而尝试登陆B网址,这就可以理解为撞库攻击;还有可能是黑客通过发布第三方抢票软件,当...阅读全文
    作者:admin | 分类:漏洞公布 | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 百度优化建议未设置max-age或expires

    Max-age是指我们的web中的文件被用户访问(请求)后的存活时间,是个相对的值,相对Request_time(请求时间)。 Expires它比max-age要麻烦点,Expires指定的时间分“相对文件的最后访问时间”和“绝对修改时间”。 在服务器/虚拟空间根目录找到“.htaccess”文件。 *如果没有请新建。 在文件最下面添加如下代码:(含义是将某些文件的缓存保存2592000秒,30天) # BEGIN tax010.com  <FilesMatch ...阅读全文
    作者:admin | 分类:技术文章 | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • WordPress后台打不开plugins.php,出现502 Bad Gateway

    在wordpress后台打开插件和外观等,均出现502 Bad Gateway,我使用WDCP2.5.11,使用Nginx1.0.15,打了很多方法,解决不了,后来升级PHP5.2.17p1升级到5.3.17,结果解决了 方法如下: wget http://down.wdlinux.cn/in/php_up53.sh sh php_up53.sh 升级php5.3.17后,DEDE后台上传图集302错误,加上 /include/userlogin.class.php文件,在第二行session_start();前加上以下代码: if (isset($...阅读全文
    作者:admin | 分类:Wordpress | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • ecs_stats' is marked as crashed and should be repaired的简单解决

     今天给客户安装的时候发现报错,出现类似“ecs_stats' is marked as crashed and should be repaire”这样的代码。 估计是ecs_stats表坏了,查阅了一下资料,发现解决这个方法很简答。 在后台数据库管理-sql查询里,直接写“repair table ecs_stats”之后执行就可以了,注意这里的前缀是ecs_,如果你不是这个前缀,需要修改下。 查看数据库前缀的方法:http://www.ecmoban.com/article-1813.ht...阅读全文
    作者:admin | 分类:Ecshop | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 软件版本说明

    Alpha:是内部测试版,一般不向外部发布,会有很多Bug.一般只有测试人员使用。 Beta:也是测试版,这个阶段的版本会一直加入新的功能。在Alpha版之后推出。 RC:(Release Candidate) 顾名思义么 ! 用在软件上就是候选版本。系统平台上就是发行候选版本。RC版不会再加入新的功能了,主要着重于除错。 GA:General Availability,正式发布的版本,在国外都是用GA来说明release版本的。 RTM:(Rel...阅读全文
    作者:admin | 分类:技术文章 | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |