使用PHPexcelreader出現的非法字元與逾時有關問題

來源:互聯網
上載者:User
使用PHPexcelreader出現的非法字元與逾時問題
Notice: iconv() [function.iconv]: Detected an illegal character in input string in D:\WebSite\htdocs\phpExcelReader\Excel\reader.php on line 1055

Fatal error: Maximum execution time of 30 seconds exceeded in D:\WebSite\htdocs\ex_cmk.php on line 38



我的目前是匯入一個EXCEL檔案進入MYSQL裡面,實驗過幾次都可以。就是這次不行,請問江湖上的朋友,有誰知道
以上是什麼意思嗎?怎麼樣去解決這個問題?excel檔案是比較大的。

我試過用減少行數,即原檔案裡面有600多行的。我試用一個中斷設定到200行,因為我有一個檔案差不多200多行的,
匯入沒有出現問題。實驗出來後,可以匯入但出現問題

Notice: Undefined variable: formatstr in D:\WebSite\htdocs\phpExcelReader\Excel\reader.php on line 635

我還是想知道是什麼原因導致的。
我用的是phpexcelreader.這個網路上有,我沒有找到可以上傳附件的功能。


------解決方案--------------------
第一個是iconv()字元編碼轉換出錯。
第二個Maximum execution time of 30 seconds 是PHP執行逾時。




------解決方案--------------------
Detected an illegal character in input string in D:\WebSite\htdocs\phpExcelReader\Excel\reader.php on line 1055

出現這個的原因,估計是excel中出現了特殊字元。
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.