摘要: 最近终于搞定了该死的Paypal ipn,特地在此留下点东西备忘。所以paypal ipn(Instant Payment Notification),就是Paypal开发的一种能主动通知第三方卖家系统交易状态的一种机制。IPN的原理很简单,就是当产生了一个交易之后,交易状态发生变化时,如用户已经付款、或者退款、撤销时,Paypal利用常用的HTTP POST方式,将交易的一些变量提交给网站的某个... 阅读全文
posted @ 2007-08-16 21:29 fatrick 阅读(3008) 评论(3) 推荐(0) 编辑
 
摘要: protected void shopBasketCheckout_OnServerClick(object source,EventArgs e){ string postData = ""; postData += "currency_code=GBP"; postData += "&cmd=_cart"; postData += "&business=youremailadd... 阅读全文
posted @ 2007-08-16 21:18 fatrick 阅读(1354) 评论(3) 推荐(0) 编辑

2009年6月7日

摘要: 媒体网关在OCS系统架构中的作用 a1.jpg (30.01 K)2008-4-11 14:55:49网关的作用:提供传统语音通信方式和基于IP的OCS媒体/信令之间的转换OCS媒体网关类型:基本媒体网关 — 需要OCS 中介服务器(Mediation Server)的配合接入OCS系统;高级媒体网关 — 具备基本媒体网关和中介服务器的功能,可以直接接入OCS系统;融合媒体... 阅读全文
posted @ 2009-06-07 13:13 fatrick 阅读(469) 评论(0) 推荐(0) 编辑
 
摘要: 图文详解配置ocs边缘服务器最近越来越多的人在问ocs边缘服务器如何配置,证书如何配置。其实我也没办法回答,因为这个东西我是在次操作中边摸索边写的,第一次,只是问得人多了我才决定做一下看看。希望那些一直问我边缘如何配置一直没有回答的兄弟们,原谅俺了,哈哈哈这个部署文档并不是最终版的,目前我也没有完全弄明白还有些问题到底出在什么地方,希望高手大侠们看到这篇文章多发表意见,共同完善这个文档。目前这个文... 阅读全文
posted @ 2009-06-07 13:10 fatrick 阅读(952) 评论(0) 推荐(0) 编辑
 
摘要: 实战部署UC平台(OCS VOIP GW and Exchange 2007)实战部署UC平台(OCS VOIP GW and Exchange 2007) 一、 环境介绍二、 部署中介服务器步骤1:安装中介服务器文件步骤2:激活中介服务器步骤3:配置中介服务器步骤4:配置证书三、 配置OCS Home Server 全局语音属性步骤1:创建位置配置文件步骤2:创建电话用法步骤3:创建策略步骤4:... 阅读全文
posted @ 2009-06-07 13:08 fatrick 阅读(633) 评论(1) 推荐(0) 编辑
 
摘要: Component (Server role or client)PortProtocolNotesFront End Servers 5060/5061TCPMTLSUsed by Standard Edition Servers and Enterprise pools for all internal SIP communications between servers and betwee... 阅读全文
posted @ 2009-06-07 11:23 fatrick 阅读(452) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace WindowsApplication11{ public par... 阅读全文
posted @ 2009-06-07 11:21 fatrick 阅读(361) 评论(1) 推荐(0) 编辑
 
摘要: private string[] GetUserUnit(string domainADsPath, string username, string password, string schemaClassNameToSearch) { SearchResultCollection results = _ADHelper(domainADsPath, username, password, sch... 阅读全文
posted @ 2009-06-07 11:20 fatrick 阅读(353) 评论(0) 推荐(0) 编辑

2008年11月10日

摘要: 页头:header登录条:loginBar标志:logo侧栏:sideBar广告:banner导航:nav子导航:subNav菜单:menu子菜单:subMenu搜索:search滚动:scroll页面主体:main内容:content标签页:tab文章列表:list提示信息:msg小技巧:tips栏目标题:title加入:joinus指南:guild服务:service热点:hot新闻:news... 阅读全文
posted @ 2008-11-10 17:20 fatrick 阅读(267) 评论(2) 推荐(0) 编辑
 
摘要: 随着中国大型IT企业信息化速度的加快,大部分应用的数据量和访问量都急剧增加 ,大型企业网站正面临性能和高数据访问量的压力,而且对存储、安全以及信息检索等 等方面都提出了更高的要求…… 本文中,我想通过几个国外大型IT企业及网站的成功案例,从Web技术人员角度探讨 如何积极地应对国内大型网站即将面临的扩展(主要是技术方面,而较少涉及管理及营 销等方面)矛盾。 一、 国外大型IT网站的成功之道 (一)... 阅读全文
posted @ 2008-11-10 17:18 fatrick 阅读(1379) 评论(0) 推荐(0) 编辑

2008年6月18日

摘要: MapInfo.Styles.CompositeStyle compositeStyle = GetOpaquesStyle(false, System.Drawing.Color.Blue); if (map != null) { if (map.Layers[SysCommon.TempTableAlias] != null) { map.Layers.Remove(SysCommon.Tem... 阅读全文
posted @ 2008-06-18 11:28 fatrick 阅读(952) 评论(1) 推荐(0) 编辑
 
摘要: private void DrawLine(MapInfo.Data.Table temptable,MapInfo.Geometry.DPoint begDpoint,MapInfo.Geometry.DPoint endDpoint,int Pattoner,System.Drawing.Color color) { MapInfo.Geometry.MultiCurve mc = MapIn... 阅读全文
posted @ 2008-06-18 11:27 fatrick 阅读(1004) 评论(3) 推荐(0) 编辑
 
摘要: public MapInfo.Styles.CompositeStyle GetOpaquesStyle(bool opaqueType, System.Drawing.Color borderColor) { MapInfo.Styles.SimpleInterior simpleInterior; if (opaqueType) simpleInterior = new MapInfo.Sty... 阅读全文
posted @ 2008-06-18 11:26 fatrick 阅读(607) 评论(1) 推荐(0) 编辑
 
摘要: public MapInfo.Geometry.Geometry DrawSector(double x, double y, int middle, int angle, double radius) { if ((angle == 0) || (radius == 0)) return null; MapInfo.Geometry.DPoint center = new MapInfo.Geo... 阅读全文
posted @ 2008-06-18 11:25 fatrick 阅读(693) 评论(1) 推荐(0) 编辑
 
摘要: 1、遍历所有要素foreach(MapInfo.Data.Feature f in _FeatureLayer.Table){// do something with the Feature}2、点查询MapInfo.Geometry.DPoint point = new MapInfo.Geometry.DPoint(-100, 40);MapInfo.Data.MIConnection con... 阅读全文
posted @ 2008-06-18 11:23 fatrick 阅读(907) 评论(0) 推荐(0) 编辑
 
摘要: MapInfo.Data.TableInfo ti = MapInfo.Data.TableInfoFactory.CreateTemp("MyPointTable");ti.Columns.Add(MapInfo.Data.ColumnFactory.CreateIntColumn("Index"));MapInfo.Data.Table table = MapInfo.Engine.Sessi... 阅读全文
posted @ 2008-06-18 11:21 fatrick 阅读(1006) 评论(3) 推荐(0) 编辑

2008年1月18日

摘要: 我们在开发的时候一定遇到使用DataGrid的时候由于不想分页(数据没有那么多)但是又显示不在一页里面,此时我们希望在DataGrid里面出现一个滚动条,可以上下滚动DataGrid里面的数据而不用上下滚动页面,由于写本文的目的是为了说明如何实现,所以对于细节性的问题读者可以自己思考完成(比如:既要分页又要滚动等等)。为了可以滚动DataGrid我们需要一个可以让客户端的Table滚动js脚本(该... 阅读全文
posted @ 2008-01-18 16:04 fatrick 阅读(700) 评论(0) 推荐(0) 编辑