看板 [ PHP ]
討論串[請益] readfile 效率問題
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 9→)留言9則,0人參與, 最新作者wnick (淺龍勿用)時間14年前 (2010/12/04 20:05), 編輯資訊
0
0
3
內容預覽:
我試了這個方法發現會有問題,. 檔案超過2G變成只下載1k就結束了,. 原因是failed to open stream: File too large,. google一下有看到一篇說是因為32bit integer的關係,. 可是http://gaaan.com/cafetw?p=97673

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者previa (Southern Cross)時間19年前 (2006/07/17 21:55), 編輯資訊
0
0
0
內容預覽:
小弟有遇到這種問題 一個 "新增文件.txt"的內容只有123. ob_end_clean();. header("Pragma: public");. header("Expires: 0");. header("Cache-Control: must-revalidate, post-check
(還有267個字)

推噓2(2推 0噓 3→)留言5則,0人參與, 最新作者previa (Southern Cross)時間19年前 (2006/07/17 05:13), 編輯資訊
0
0
2
內容預覽:
這是我在別的地方看到的 我也有這個困擾 XD. http://theserverpages.com/php/manual/en/function.readfile.php. regarding php5:. i found out that there is already a disscussio
(還有772個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者KoShiyen (http://0rz.net/e70jv)時間19年前 (2006/07/16 01:44), 編輯資訊
0
0
0
內容預覽:
我寫了一個程式過濾下載的使用者. 通過的才會用 readfile 放檔案給他, 否則會改放拒絕的圖檔. 可是本來直接下載時很快很容易下載的檔. 透過 readfile 就變成慢得不得了. 開一個檔常常要等好幾分鐘才開始下載. 用不同的 webhost 也是得到同樣的結果. 請問這是設定的問題還是程式
首頁
上一頁
1
下一頁
尾頁