'Programming/web 관련'에 해당되는 글 81건

  1. 2017.04.21 웹 페이지용 이미지 DB에 저장하기
  2. 2017.03.03 http digest
  3. 2017.03.02 http header
  4. 2017.02.06 HTTP GET / POST 차이 (telnet)
  5. 2017.01.27 해싱 salt
  6. 2017.01.02 AWS 서버리스 서버(serverless)
  7. 2016.01.14 NPAPI / PPAPI - VLC ...
  8. 2016.01.13 HTML5 video player 720p/1080p 재생여부
  9. 2015.12.09 ssi(Server Side Includes)
  10. 2015.09.17 홈페이지 검증
Programming/web 관련2017. 4. 21. 15:35

db에 blob으로 저장하고

echo나 print로 (php) 출력하고

html header에서 content 타입을 image/jpeg 식으로 지정해주면

받는 쪽에서 이미지로 해석을 해서 뿌려준다... 라는 개념


[링크 : http://blog.naver.com/oralol/220389355544] PHP

[링크 : http://xx707xx.tistory.com/47] JSP


multi-part html

어디서 본건가 했더니 smtp 관련해서 메일 보낼때 헤더 멀티파트 헤더 붙여서

인코딩 바꾸거나 이미지 삽입하는거 였네..

물론 HTML을 보여주는 웹 브라우저에서는 지원이 많지 않고

메일 클라이언트쪽에서는 지원 하는 듯?

[링크 : http://stackoverflow.com/...multiple-php-header-content-types-on-the-same-page-is-this-possib]




예전에 구글에서 검색을 POST가 아닌 GET으로 받는 이유가

캐시에 유리하기 때문이라고 했는데.. 이 방식이 얼마나 유용한진 모르겠다.(cpu 성능이 낮을때)

그리고 저사양일때 이런 방식을 사용하면 오히려 더 cpu에 부하가 걸릴려나?

DB에서 받아오는 대용량 데이터는 포인터나 직접 접근이 아니니

일일이 cpu가 메모리에서 메모리로 복사해서 넘겨줘야 할테니?

'Programming > web 관련' 카테고리의 다른 글

aptana studio 설치  (0) 2017.10.03
HTML fieldset / legend  (0) 2017.05.26
http digest  (0) 2017.03.03
http header  (0) 2017.03.02
HTTP GET / POST 차이 (telnet)  (0) 2017.02.06
Posted by 구차니
Programming/web 관련2017. 3. 3. 11:26

회사에서 쓸일이 있어서 정리했었는데

어라.. 블로그에는 안써놨었나 -ㅁ-?


[링크 : https://en.wikipedia.org/wiki/Digest_access_authentication]


[링크 : https://support.microsoft.com/ko-kr/help/195650/how-to-handle-proxy-authorization-with-wininet]


[링크 : http://blog.naver.com/bcknightt/220006031922]

[링크 : http://x68000.q-e-d.net/~68user/net/http-auth-2.html]

[링크 : http://blog.csdn.net/menglongbor/article/details/43713215]

'Programming > web 관련' 카테고리의 다른 글

HTML fieldset / legend  (0) 2017.05.26
웹 페이지용 이미지 DB에 저장하기  (0) 2017.04.21
http header  (0) 2017.03.02
HTTP GET / POST 차이 (telnet)  (0) 2017.02.06
해싱 salt  (0) 2017.01.27
Posted by 구차니
Programming/web 관련2017. 3. 2. 18:22

http/1.0은 get만 보내도 됨

http/1.1은 host 필요

[링크 : http://serverfault.com/.../what-is-the-mandatory-information-a-http-request-header-must-contain]


[링크 : http://stackoverflow.com/questions/4726515/what-http-response-headers-are-required]

[링크 : http://stackoverflow.com/questions/6686261/what-at-the-bare-minimum-is-required-for-an-http-request]



'Programming > web 관련' 카테고리의 다른 글

웹 페이지용 이미지 DB에 저장하기  (0) 2017.04.21
http digest  (0) 2017.03.03
HTTP GET / POST 차이 (telnet)  (0) 2017.02.06
해싱 salt  (0) 2017.01.27
AWS 서버리스 서버(serverless)  (0) 2017.01.02
Posted by 구차니
Programming/web 관련2017. 2. 6. 14:12

서버 마다 다른건가... lighttpd에서는 GET만 하면 400 에러가 발생하고

GET 다음 Host까지 해주어야 응답을 해준다.

+

GET /bin/login?User=Peter+Lee&pw=123456&action=login HTTP/1.1

Host: 127.0.0.1:8000 


POST /bin/login HTTP/1.1

Host: 127.0.0.1:8000

Accept: image/gif, image/jpeg, */*

Referer: http://127.0.0.1:8000/login.html

Accept-Language: en-us

Content-Type: application/x-www-form-urlencoded

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Content-Length: 37

Connection: Keep-Alive

Cache-Control: no-cache

   

User=Peter+Lee&pw=123456&action=login 


[링크 : https://www.ntu.edu.sg/home/ehchua/programming/webprogramming/HTTP_Basics.html]


GET

/test/demo_form.asp?name1=value1&name2=value2

POST

POST /test/demo_form.asp HTTP/1.1

Host: w3schools.com

name1=value1&name2=value2 

[링크 : http://www.w3schools.com/Tags/ref_httpmethods.asp]

[링크 : https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html]



S.N.Method and Description
1GET

The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data.

2HEAD

Same as GET, but transfers the status line and header section only.

3POST

A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms.

4PUT

Replaces all current representations of the target resource with the uploaded content.

5DELETE

Removes all current representations of the target resource given by a URI.

6CONNECT

Establishes a tunnel to the server identified by a given URI.

7OPTIONS

Describes the communication options for the target resource.

8TRACE

Performs a message loop-back test along the path to the target resource.

[링크 : https://www.tutorialspoint.com/http/http_methods.htm]

[링크 : https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]

'Programming > web 관련' 카테고리의 다른 글

http digest  (0) 2017.03.03
http header  (0) 2017.03.02
해싱 salt  (0) 2017.01.27
AWS 서버리스 서버(serverless)  (0) 2017.01.02
NPAPI / PPAPI - VLC ...  (0) 2016.01.14
Posted by 구차니
Programming/web 관련2017. 1. 27. 22:28

'Programming > web 관련' 카테고리의 다른 글

http header  (0) 2017.03.02
HTTP GET / POST 차이 (telnet)  (0) 2017.02.06
AWS 서버리스 서버(serverless)  (0) 2017.01.02
NPAPI / PPAPI - VLC ...  (0) 2016.01.14
HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
Posted by 구차니
Programming/web 관련2017. 1. 2. 11:50

Function as a Service

msec 단위과금


장점으로는 딱 서비스에 집중하고 서버 구성이나 운영은 전혀 고민할 필요없다. 정도?



[링크 : http://www.zdnet.co.kr/column/column_view.asp?artice_id=20160614172904]

[링크 : http://blog.aliencube.org/ko/2016/06/23/serverless-architectures/]

[링크 : https://aws.amazon.com/ko/blogs/korea/serverless-architecture-by-korean-developers/]

'Programming > web 관련' 카테고리의 다른 글

HTTP GET / POST 차이 (telnet)  (0) 2017.02.06
해싱 salt  (0) 2017.01.27
NPAPI / PPAPI - VLC ...  (0) 2016.01.14
HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
ssi(Server Side Includes)  (0) 2015.12.09
Posted by 구차니
Programming/web 관련2016. 1. 14. 13:25

크롬에서 vlc가 안되서 찾아 봤더니

vlc도 npapi를 통해 호출한거라 막혔... OTL

VLC에 PPAPI 버전이 나오기 전까지는 답이 없다는게 함정...


[링크 : http://www.vboxcomm.com/enable-vlc-web-plugin-in-google-chrome-npapi.html?tmpl=component]

    [링크 : https://wiki.videolan.org/OPW_Summer_2014/#Port_VLC.27s_NPAPI_web_plugin_to_PPAPI]

[링크 : https://support.google.com/chrome/answer/6213033?hl=ko]


'Programming > web 관련' 카테고리의 다른 글

해싱 salt  (0) 2017.01.27
AWS 서버리스 서버(serverless)  (0) 2017.01.02
HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
Posted by 구차니
Programming/web 관련2016. 1. 13. 17:03

넷플릭스로 인해서 알게 된 문제(?) 인데

크롬에서 1080 동영상을 지원하지 않는다는데...

유튜브도 안되는건가?

아니면.. HTML5 video 태그를 통한 재생에서 그렇다는건가?


There are a couple of reasons.

Some content owners don't even allow 720p in the browser (Fox the main one)

Silverlight can't handle over 3000kbps (720p)

HTML5 hasn't had its DRM standardised yet and until it is the browsers looking to abide by standards won't get 1080p. It's only IE 11 on Win8 which takes MS standard approach of going their own way and not following standards which has a DRM that's been fully accepted by the Movie/TV industry


[링크 : https://www.reddit.com/r/netflix/comments/320c3u/all_why_is_it_that_chrome_and_firefox_can_only/]

[링크 : https://productforums.google.com/forum/#!topic/chrome/InUdBrue7Mg]



Netflix system requirements for HTML5 Player and Silverlight

Resolution: Stream in HD if your Internet connection supports 5 megabits per second or more.


Google Chrome up to 720p

Internet Explorer up to 1080p

Microsoft Edge up to 1080p

Mozilla Firefox up to 720p

Opera up to 720p

Safari up to 1080p on Mac OS X 10.10.3 or later

[링크 : https://help.netflix.com/en/node/23742]


[링크 : https://help.netflix.com/ko/node/23742]

'Programming > web 관련' 카테고리의 다른 글

AWS 서버리스 서버(serverless)  (0) 2017.01.02
NPAPI / PPAPI - VLC ...  (0) 2016.01.14
ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
웹 서버별 특징  (0) 2015.09.11
Posted by 구차니
Programming/web 관련2015. 12. 9. 14:51

서버 사이드 스크립트 언어 라고 규정되는데

<!--#directive parameter=value parameter=value -->

위와 같은 문법으로 사용되며 shtml 이라는 확장자로 사용된다(어?)


[링크 : https://en.wikipedia.org/wiki/Server_Side_Includes]


[링크 : https://www.linux.co.kr/unixwebhosting/ssi/index.htm]

  [링크 : https://www.linux.co.kr/unixwebhosting/ssi/ssi01.htm]

  [링크 : https://www.linux.co.kr/unixwebhosting/ssi/ssi02.htm]

  [링크 : https://www.linux.co.kr/unixwebhosting/ssi/ssi03.htm]

  [링크 : https://www.linux.co.kr/unixwebhosting/ssi/ssi04.htm]

  [링크 : https://www.linux.co.kr/unixwebhosting/ssi/ssi05.htm]

'Programming > web 관련' 카테고리의 다른 글

NPAPI / PPAPI - VLC ...  (0) 2016.01.14
HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
홈페이지 검증  (0) 2015.09.17
웹 서버별 특징  (0) 2015.09.11
DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
Posted by 구차니
Programming/web 관련2015. 9. 17. 13:39


[링크 : http://browsershots.org/] 브라우저 버전별

[링크 : http://troy.labs.daum.net/] 해상도별

    [링크 : http://nassjz.tistory.com/47]

'Programming > web 관련' 카테고리의 다른 글

HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
ssi(Server Side Includes)  (0) 2015.12.09
웹 서버별 특징  (0) 2015.09.11
DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
Posted by 구차니