摘要: 下载地址:http://dl.dbank.com/c023ozsc8c阅读全文
posted @ 2012-02-28 04:13 cevin 阅读(731) | 评论 (0) 编辑 |
|
|||
02 2012 档案摘要: 下载地址:http://dl.dbank.com/c023ozsc8c阅读全文 posted @ 2012-02-28 04:13 cevin 阅读(731) | 评论 (0) 编辑 | 摘要: 提供银联在线支付接口业务整合服务QQ:458841653Email:cevincheung@qq.com银联在线支付官网:http://online.unionpay.com/银联在线支付提供快捷支付、认证支付、银行卡卡密支付、小额支付等多种便捷支付方式,安全,快速。辅助函数: 1 /** 2 * 生成指定 $length 位数的纯数字随机数 3 */ 4 function random($length) { 5 mt_srand(); 6 $seed = base_convert(md5(print_r($_SERVER, 1).microtime()), 16, 10); 7 $seed.阅读全文 posted @ 2012-02-21 17:59 cevin 阅读(644) | 评论 (0) 编辑 | 摘要: class taobao { private $param = array(); public $url = ''; private $public_key = ''; private $secret_key = ''; public $error = ''; public function __construct($a,$s) { $this->public_key = $a; $this->secret_key = $s; } public function __set($key,$val) { $t...阅读全文 posted @ 2012-02-11 02:23 cevin 阅读(87) | 评论 (0) 编辑 | 摘要: function convert_xml_to_array($obj) { if(is_object($obj)){ $obj=get_object_vars($obj); } if(is_array($obj)){ foreach ($obj as $key=>$value){ $obj[$key] = convert_xml_to_array($value); } } return $obj;}注意$obj为SimpleXMLElement对象。调用:$ret = convert_xml_to_a...阅读全文 posted @ 2012-02-11 02:20 cevin 阅读(34) | 评论 (0) 编辑 | 摘要: 1 function send_mail($config) 2 { 3 $config = array_merge(array('charset'=>'UTF-8','port'=>25,'ssl'=>false),$config); 4 $maildelimiter = "\r\n"; 5 $config['subject'] = '=?'.$config['charset'].'?B?'.base64_encode(str_r阅读全文 posted @ 2012-02-07 01:28 cevin 阅读(26) | 评论 (0) 编辑 |
|
|||