→ Kelunyang:error message ? 12/08 21:23
→ iceyang:swfupload alert 500 curl 回傳Internal Server Error 12/08 21:44
→ iceyang:直接IE連upload.php 則是很正常的ERROR:invalid upload 12/08 21:48
推 gpmm:你的 curl 有用 cookie 的方式做嗎?在猜可能和 cookie 有關 12/08 22:26
→ gpmm:因為 swfupload 也是不吃 cookie … 12/08 22:26
沒有耶, 並沒用到 cookie
剛剛突然想起之前在掃網頁時為了不被當成 robot ,要模擬瀏覽器,
剛把 curl + 上 useragent 資訊,就可以正常抓取網頁了,
估計 swfupload 應該是被智邦的主機判定為 robot 檔掉了
這部分不知道 swfupload 有沒有辦法克服?
還是說 php.ini有可以解除限制的設定,如果swfupload無法克服,
就商請主機商解除這個限制
如果是靠其他的軟硬體做的,只好用傳統的 file input 了 ><
※ 編輯: iceyang 來自: 60.26.140.169 (12/08 23:00)