随笔分类 - php技术类
摘要:$v) { if(in_array($k, $this->fieldList)){ $fieldList.=$k.","; if (!get_magic_quotes_gpc()) $value .= "'".addslashes($v)."',"; else $value .= "'".$v."',"; } } $fieldList=rtrim($fieldList, ","); $value=rtrim($value, ",
阅读全文
摘要:addFile($fileValue, "$filename"); }else{ $this->dirTree($dir,$dir); } $zipfilenametemp = time().$zipfilename; $out = $this -> filezip(); $fp = fopen($zipfilenametemp, "w"); fwrite($fp, $out, strlen($out)); fclose($fp); $filesize = filesize($zipfilenametemp); if ($filesize f
阅读全文
摘要:=0x80) { if( (ord($sInBuf{$i})>=0x81 && ord($sInBuf{$i})=0x40 && ord($sInBuf{$i+1}) 0x7E && ord($sInBuf{$i+1})0xA0 && ord($sInBuf{$i}) 63 || strlen($aDomain[0]) 返回"; return false; } $im = ImageCreateFromGIF($srcFile); break; case 2: if(!function_exists("i
阅读全文
摘要:废话不多说!上代码class tree { /** * 生成树型结构所需要的2维数组 * @var array */ var $arr = array(); /** * 生成树型结构所需修饰符号,可以换成图片 * @var array */ var $icon = array('│','├','└'); /** * @access private */ var $ret = ''; /** * 构造函数,初始化类 * @param array 2维数组,例如: * array( * 1 => arra...
阅读全文

浙公网安备 33010602011771号