<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_22609"> <div class="blockcode"> <div id="code_yaM"><ol> <li> <li><?php<li> $excelPath = 'Test.xls';<li> <li> $objReader = PHPExcel_IOFactory::createReader('Excel5');<li> $objReader->setReadDataOnly(true);</li> <li> </li> <li> $objPHPExcel = $objReader->load($excelPath);</li> <li> $currentSheet = $objPHPExcel->getActiveSheet();</li> <li> $AllImages= $currentSheet->getDrawingCollection();</li> <li> </li> <li> if(count($AllImages) > 0) {</li> <li> //处理</li> <li>}</li> <li>?></li> </ol></div> <em onclick="copycode($('code_yaM'));">复制代码</em> </div> </td></tr></table> <div id="comment_22609" class="cm"> </div> <div id="post_rate_div_22609"></div> <br><br>