2019-11-28 糖果小宝
php开发
<?php
class Imagedown {
var $datasec = array ();
var $ctrl_dir = array ();
var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old_offset = 0;
public function unix2_dostime($unixtime = 0){
$timearray = ($unixtime == 0) ? getdate () : getd...
阅读全文>>
标签: php
评论(0)
浏览(974)
2019-11-20 糖果小宝
php开发
function decimalNotation($num)
{
$parts = explode('E', $num);
if(count($parts) != 2){
return $num;
}
$exp = abs(end($parts)) +3;
$decimal = number_format($num, $exp);
$decimal = rtrim($decimal, '0');
return rtrim($decimal, '.');
}
阅读全文>>
标签: php
评论(0)
浏览(955)
2019-11-19 糖果小宝
php开发
原因内容字段带“=”号
解决方案:把含有特殊字符的列 setCellValue改成setCellValueExplicit 明确列数据类型,setCellValueExplicit默认为字符串类型
阅读全文>>
标签: php
评论(0)
浏览(898)