發表文章

目前顯示的是 1月, 2014的文章

聖經創世紀

最近看了聖經創世紀,神陳述人不能偷吃智慧樹的果子,吃的那天必定會死掉,但是實際上沒有,結果反而是蛇說的對,人在沒有智慧的時候會聽信蛇的話本無可厚非,反而是神說了謊,就怕人與神一樣有智慧。原來聖經是用心良苦的寓言故事,告訴我們不要太相信權威,更重要的是,如果人類有了智慧就可以更接近神,那怕會受到嚴厲的處罰。

網路筆記 File Upload on PHP Server in Android

http://sunil-android.blogspot.tw/2013/09/file-upload-on-php-server-in-android.html http://www.webtech.tw/info.php?tid=24 For this using multipart boundary. So here question is arises what is multipart boundary and why use it? The Content-Type field for multipart entities requires one parameter, "boundary", which is used to specify the encapsulation boundary. The encapsulation boundary is defined as a line consisting entirely of two hyphen characters ("-", decimal code 45) followed by the boundary parameter value from the Content-Type header field. Thus, a typical multipart Content-Type header field might look like this: Content-Type: multipart/mixed; boundary=gc0p4Jq0M2Yt08jU534c0p This indicates that the entity consists of several parts, each itself with a structure that is syntactically identical to an RFC 822 message, except that the header area might be completely empty, and that the parts are each preceded by the line --gc0p4Jq0M2Yt08jU534c0p. Things to Note...