上一页 1 2 3 4 5 6 7 ··· 20 下一页
  2013年4月28日
摘要: $pdf->SetFillColor(255, 255, 255); // set cell padding $pdf->setCellPaddings(1, 1, 1, 1); // set cell margins $pdf->setCellMargins(1, 1, 1, 1); $pdf-> SetFont('droidsansfallback', '', 10);获取页面的宽度:$pdf->getPageWidth()获取页面的高度:$pdf->getPageHeight()... 阅读全文
posted @ 2013-04-28 14:21 myx 阅读(1613) 评论(1) 推荐(0) 编辑
  2013年4月26日
摘要: # coding=utf-8from suds.client import Clientfrom suds.xsd.doctor import ImportDoctor, Importfrom pprint import pprint# import sys# default_encoding = 'utf-8'# if sys.getdefaultencoding() != default_encoding:# reload(sys)# sys.setdefaultencoding(default_encoding)url ='http://www.webxml.co 阅读全文
posted @ 2013-04-26 23:40 myx 阅读(440) 评论(0) 推荐(0) 编辑
  2013年4月16日
摘要: 最近在用CI的时候。在测试的时候有时候返回:Disallowed Key Characters ,如果清空游览器会好,但如果有多用户登录后会经常出现。搜索才发现是CI的Input.php的处理有问题。需要修改Input.php的地方如下: function _clean_input_keys($str) { if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str)) { exit('Disallowed Key Characters.'); } // Clean UTF... 阅读全文
posted @ 2013-04-16 10:44 myx 阅读(3174) 评论(0) 推荐(0) 编辑
  2013年4月2日
摘要: CodeIgniter链接ms sql 如果数据库名称有点号连接出错,提示如下:注连接方式是:sqlsrvA Database Error OccurredUnable to select the specified database: dbabo.cebFilename: D:\Project\xxxx\Code\system\database\DB_driver.phpLine Number: 140连接的其他数据没问题。在这里就遇到了。一时不得其解。想想是不是数据库名有"."点号引起的呢。测试吧.点好修改成_链接成功。 但数据是第三方给的。没办法修改他们的数据库名称。 阅读全文
posted @ 2013-04-02 14:44 myx 阅读(1301) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页