php array(object) 与xml相互转换
摘要:private function _array_to_xml($source, $charset='utf-8'){ $array = json_decode($source); $pre = ''; $xml = $pre. $thi...
阅读全文
posted @
2014-08-30 18:59
c碰
阅读(483)
推荐(0)
ubuntu 更新重启后 登录后 无法进入图形界面
摘要:切换到控制台然后看看~/.Xauthority的组属性是否正确,如果被改成root组了,就会造成不能登陆,你将其删除就ok了
阅读全文
posted @
2014-08-26 12:21
c碰
阅读(677)
推荐(0)
jQuery Mask
摘要:$(document) .ready( function() { $('.phone_with_ddd').mask('(00) 0000-0000'); $('.cep').mask('00.000-000...
阅读全文
posted @
2014-08-22 13:34
c碰
阅读(841)
推荐(0)
Jquery getJson
摘要://jsfunction get_addressinfo(x){ var zipcode = $("#"+x+"_zipcode").val(); $.getJSON("ebanx/zipcode", {zipcode: zipcode}, function(msg){ if(...
阅读全文
posted @
2014-08-19 12:12
c碰
阅读(203)
推荐(0)
CI 自动提交表单
摘要://coontrol$this->load->view ( '/' . $this->index_lang ['FOLDER'] . '/eprepag_form.php', $params);//view//eprepag_form.phpeprepag " method="post" > "...
阅读全文
posted @
2014-08-15 16:29
c碰
阅读(291)
推荐(0)
ubuntu 开发环境搭建 lisp gcc python perl mysql
摘要:一: lisp sudo apt-get install emacs sudo apt-get install sbcl sudo apt-get install slime emacs里 Alt+x 输入 slime,就启动了lisp环境 //曾经在ubuntu14.04可行 // 或者 sudo
阅读全文
posted @
2014-08-02 16:16
c碰
阅读(352)
推荐(0)