仅仅是配置文件,粘贴如下,不做解释!去掉了很多功能!仅保留sip电话!
[general]
; General settings for the operation of Yate
; modload: boolean: Should a module be loaded by default if there is no
; reference to it in the [modules]...
分类:
其他好文 时间:
2014-10-06 16:09:00
阅读次数:
167
query($strGetList); $results = array(); $xmlString = "\n"; $xmlString .="\n"; while( $rows = $GLOBALS['le']->fetch_assoc() ) { $results[] =...
分类:
其他好文 时间:
2014-10-05 13:58:58
阅读次数:
155
爬虫最基本的部分是要将网页下载,而最重要的部分是过滤 -- 获取我们需要的信息。 而scrapy正好提供了这个功能: 首先我们要定义items: Itemsare containers that will be loaded with the scraped data; they ...
分类:
其他好文 时间:
2014-10-05 01:04:07
阅读次数:
341
privatestringDataTableTojson(DataTabledt){List>list=newList>();foreach(DataRowrowsindt.Rows){Dictionarydict=newDictionary();foreach(DataColumncolindt....
分类:
Web程序 时间:
2014-09-29 23:15:21
阅读次数:
171
对于机房收费系统的重构,从大的方面来看,无非就是对于数据库的四个操作,增删改查。并且我们用的是三层架构进行重构,D层用来和数据库打交道,进行这四个操作就需要有返回值,增删改在这里不多说,但是当进行查的时候,d层需要数据给b层,那么我们以什么样的形式返回最好呢?
刚开始接触三层的时候,我返回的是datatable,就是dt.Rows[0][“xxx”]的形式,感觉实现了,就很厉害了,后来通...
分类:
其他好文 时间:
2014-09-28 18:22:35
阅读次数:
224
今天在项目开发的过程中写了一小段代码:sb_result.AppendFormat("{\"SmsmTaskModeName\":\"{0}\",\"SmsmEmpName\":\"{1}\"", dt.Rows[0]["smsmTaskModeName"].ToString(), dt.Rows[...
分类:
其他好文 时间:
2014-09-28 14:12:02
阅读次数:
172
实例 一个 25 个字符宽 3 行高的文本区: <textarea?rows="3"?cols="20">
在w3school,你可以找到你所需要的所有的网站建设教程。
</textarea> 亲自试一试 定义和用法 rows 属性规定 textarea 的可见高度。 语法...
分类:
Web程序 时间:
2014-09-27 20:42:30
阅读次数:
233
昨天bash漏洞放出,补丁也更新到yum源。百八十台服务器跑个yum –y update bash。有一台机器出了问题,登录检查~登录服务器,敲命令yum update bash返回如下: 1: [root@localhost ~]# yum update bash 2: Loaded ...
分类:
其他好文 时间:
2014-09-26 13:33:18
阅读次数:
243
1.检测Apache是否支持mod_rewrite 通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再...
分类:
Web程序 时间:
2014-09-26 12:42:19
阅读次数:
297
DataTable newdt = new DataTable();newdt = dt.Clone(); // 克隆dt 的结构,包括所有 dt 架构和约束,并无数据;DataRow[] rows = dt.Select(conditions); // 从dt 中查询符合条件的记录;foreach...
分类:
其他好文 时间:
2014-09-25 21:45:57
阅读次数:
192