2009年4月22日
摘要: 1、多IP或多域名修改config.php$CFG->wwwroot ='http://10.0.0.7/moodle'; 更改为$CFG->wwwroot = 'http://' . $_SERVER['HTTP_HOST'] . '/moodle';2、修改绝对地址为相对地址/moodle/lib/editor/htmlarea/popups/dlg_ins_smile.php ... 阅读全文
posted @ 2009-04-22 15:20 石川 阅读(397) 评论(0) 推荐(0) 编辑
  2009年4月13日
摘要: --这一部分是用来删除生成的表的 USE [YouDataBaseName] GO IF EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID('dbo.TableRows') AND type in (N'U') ) DROP TABLE [dbo].TableRows --这里是查询的部分 CREATE TABLE Tab... 阅读全文
posted @ 2009-04-13 22:07 石川 阅读(761) 评论(0) 推荐(0) 编辑
  2009年3月20日
摘要: declare @old varchar(100) declare @new varchar(100) set @old='http://new.chaoren.com/CMS/localhost' set @new='http://www.chaoren.com/CMS/localhost' declare @ptr varbinary(16) declare @newsid varchar(3... 阅读全文
posted @ 2009-03-20 13:16 石川 阅读(292) 评论(0) 推荐(0) 编辑
  2009年3月12日
摘要: 阅读全文
posted @ 2009-03-12 18:33 石川 阅读(648) 评论(0) 推荐(0) 编辑
  2009年3月10日
摘要: 将以下代码直接贴到分析器,把那木马脚本替换掉,运行就行了. DECLARE @T varchar(255), @C varchar(255) DECLARE Table_Cursor CURSOR FOR Select a.name,b.name from sysobjects a, syscolumns b where a.id=b.id and a.xtype='u' and (b.xt... 阅读全文
posted @ 2009-03-10 17:02 石川 阅读(357) 评论(0) 推荐(0) 编辑
  2009年3月9日
摘要: 阅读全文
posted @ 2009-03-09 23:34 石川 阅读(390) 评论(0) 推荐(1) 编辑
  2009年3月2日
摘要: 备份 sudo tar -cvpzf /home/back.tgz --exclude=/proc --exclude=/lost+found --exclude=/home/back.tgz --exclude=/mnt --exclude=/sys / sudo tar -cvpjf /home/back.tar.bz2 --exclude=/proc --exclude=/lo... 阅读全文
posted @ 2009-03-02 08:43 石川 阅读(210) 评论(0) 推荐(0) 编辑
  2009年2月20日
摘要: 1、修改IP地址:sudo gedit /etc/network/interfaces auto eth0 iface eth0 inet staticaddress 219.218.122.168 netmask 255.255.255.0 gateway 219.218.122.2542、修改DNS: sudo gedit /etc/resolv.conf nameserver 202.... 阅读全文
posted @ 2009-02-20 20:18 石川 阅读(352) 评论(0) 推荐(0) 编辑
  2009年2月15日
摘要: 做好本职工作。本职工作包括正常的教学,网络的维护,兴趣小组的带领,以及学校日常事务。 完成家教中心。今天是2月15号,目前功能分析只能算是完成一半,21号之前必须完成功能分析和数据库的建设。在3月15号前完成整个网站的大概并上传到服务器。(重点) 逐步完成创业。近期的考虑是通过Google AdSens方式,虽然是比较的初级的模式,不过操作起来比较的简单,在一个人的情况下实现起来比较的容易。 完成... 阅读全文
posted @ 2009-02-15 23:35 石川 阅读(264) 评论(0) 推荐(0) 编辑
  2009年2月3日
摘要: 阅读全文
posted @ 2009-02-03 22:26 石川 阅读(196) 评论(1) 推荐(0) 编辑
  2009年2月1日
摘要: [代码] 阅读全文
posted @ 2009-02-01 10:11 石川 阅读(826) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-02-01 10:10 石川 阅读(558) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-02-01 10:08 石川 阅读(298) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-02-01 10:06 石川 阅读(417) 评论(0) 推荐(0) 编辑
  2009年1月6日
摘要: 1 系统概述本系统要实现的功能是提供各种在线表格的管理,用户创建一个表格,可设置表格中需要的种数据类型。设置好表格后,可以供特定权限的用户来填写数据,填写好数据后由表格的创建者进行统计分析数据,并可根据模板来生成特定样式的文档并进行保存和打印。2 表格功能的实现2.1 用户的注册注册用户才可以创建表格以及在系统的讨论区进行讨论,而非注册用户只能浏览站点信息,不能进行讨论。用户注册时使用邮箱进行注册... 阅读全文
posted @ 2009-01-06 23:54 石川 阅读(315) 评论(0) 推荐(0) 编辑