• sql2005 因为数据库正在使用,无删除和还原数据库

    还原或删除sql server 2008数据库时,经常烩出现: “因为数据库正在使用,所以无法获得对数据库的独占访问权”,终解决方案如下 关键SQL语句: ALTER DATABASE [datebase] SET OFFLINE WITH ROLLBACK IMMEDIATE 用完之后再 ALTER  database  [ datebase]  set   online
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年5月17日 | 分类:其它 | 阅读:1,606次 |
  • UTF-8文件的BOM头的来由及去除方法

    1. 什么是BOM头     在utf-8编码文件中BOM在文件头部,占用三个字节,用来标识该文件属于utf-8编码,现在已经有很多软件识别BOM头,但还是有些不能识别BOM头,比如PHP就不能识别BOM头,这也就是用记事本编辑utf-8编码的PHP文件后,就会报错的原因。 2. 包含BOM头文件的产生     在windows环境下,用记事本打开任何一个文本文件,另存为utf-8格式后,这样文件就自动被加上了...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年5月01日 | 分类:技术文章 | 阅读:1,466次 |
  • 三大WEB服务器对比分析(apache ,lighttpd,nginx)

    一.软件介绍(apache  lighttpd  nginx) 1. lighttpd Lighttpd是一个具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。 Lighttpd使用fastcgi方式运行php,它会使用很少的PHP进程响应很大的并发量。 Fastcgi...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年5月01日 | 分类:Apache | 阅读:1,401次 |
  • dede5.7 权重排序

    {dede:arclist titlelen='38' flag='h' noflag='a' isweight='y' orderby='weight'} <li><span>[[field:typelink/]]</span><a href="[field:arcurl/]">[field:title/]</a><div class="c2time">[field:pubdate function=MyDate('y-m-d',@me)/]</div></li> {/dede:arclist} 红色部分就是开启 weight排序,再加上orderby='wei...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年4月23日 | 分类:DedeCMS技巧 | 阅读:1,116次 |
  • 轻量化文本编辑工具editplus2.12.106

    editplus2.12.106推荐版本,原因是有高亮显示代码,这个在编写代码时会感觉很舒服,这个版本找了很久了,原因是以前用过,但不知道那里用的,测试了很多个版本才找到这个。   下载地址:Editplus2.12.106.rar  
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年4月18日 | 分类:辅助工具 | 阅读:1,595次 |
  • Linux常用命令New

    获取命令的系统帮助信息 help : 查看内部shell命令的帮助信息(常用) man : 显示在线帮助手册(常用) info : info格式的帮助文档   文本编辑器 vi : linux下面功能异常强大的编辑器,快捷键多如牛毛 nano : 系统自带的一个编辑器,有的时候只能使用它编辑少部分配置文件   目录和文件操作,这一系列命令都常用 p...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年4月18日 | 分类:Linux | 阅读:1,301次 |
  • 用户、组或角色 'bjgs' 在当前数据库中已存在。 

    用户、组或角色 'bjgs' 在当前数据库中已存在。 (Microsoft SQL Server,错误: 15023) 在使用SQL Server 2000时,我们经常会遇到一个情况:需要把一台服务器上的数据库转移到另外一台服务器上。而转移完成后,需要给一个"登录"关联一个"用户"时,往往会发生错误: “错误15023:当前数据库中已存在用户或角色” 这个问题非常棘手,几经排常找到了原因与解决方法,因为这个问题与...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年3月27日 | 分类:MSSQL | 阅读:1,585次 | 标签:
  • dede TAG、标题、栏目、keywords长度修改

    织梦在很多如 TAG、标题、栏目以及keywords长度字符数方面默认是有限制的,但是我们在对网站进行操作的时候往往触及它的默认限制导致更改不完整等等。。对于此我们可以进入数据库修改相应字段以及ftp修改相应源码来解决  一、织梦DEDECMS tag长度修改  1.修改数据库  进入数据库修改表dede_tagindex和dede_taglist的tag字段分别修改为255【注:本文默认设置为255,用户更改...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年3月25日 | 分类:DedeCMS技巧 | 阅读:1,417次 |
  • wordpress禁止替换双引号

    wrodpress发布的文章,代码中的英文双引号,会被替换成中文双引号。 方法一:一句代码修改主题目录下themes/主题/functions.php文件 remove_filter('the_content', 'wptexturize'); 这个方法还是不错的,简单不需要安装下面所说的插件,而且在WP程序升级的时候不会有影响。这句话就是用来禁止wptexturize函数,只能在内容中有效,标题,评论等是没有效的。 方法二: Quotmar...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年3月10日 | 分类:Wordpress | 阅读:286次 |
  • kp.exe 应用程序错误

    百望服务-软件下载 升级版税控发票开票软件(税控盘) 版本号:V2.0.00_20141229更新时间:2015-01-07 18:10:58 下载   vcredist2008  补丁  vcredist2008     126.com s4006112366 4006112366
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年2月27日 | 分类:其它 | 阅读:1,435次 |
  • 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 | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2015年2月02日 | 分类:Windows | 阅读:1,657次 |