Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
PHP 導(dǎo)入 EXCEL 到數(shù)據(jù)庫
使用官方的表單插入副表的那個代碼
插入600條記錄左右(因為要入副表,那應(yīng)該是執(zhí)行了 600 * 2次)
然后就出現(xiàn)了上面的錯誤!
官方的插入代碼 一條記錄是要執(zhí)行3次,SQL,一次主表,一次更新主表的tableid,一次是入副表
如果是3次的話,只能400條,1200次
如果是寫死,tableid=0 執(zhí)行2次,那就也是大概 1200次!
請問,大概是什么問題引起這個錯誤?是超時嗎?還是內(nèi)存?
內(nèi)存不足,建議分頁插入,嘴一個進度條的功能
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
用我那個方法把,能導(dǎo)入的多
http://www.apdwn.com/wenda/21525.html