::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

Cross-Origin Resource Sharing Demo

°Ô½ÃÆÇ
Web Technologies
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2011-01-14 00:46:32
ÀÐÀº¼ö
3741
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://saltybeagle.com/2009/09/cross-origin-resource-sharing-demo/ 
°ü·Ã¸µÅ©02
http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/ 

Cross-Origin Resource Sharing Demo



Cross-Origin Resource Sharing specification : http://www.w3.org/TR/access-control/


The HTML:







CORS Examples

Test GET This page retrieves content from another server, using CORS
Get content from another server

Test POST:

Name:

More info


The JavaScript (GET):




The JavaScript (POST):




The PHP code responding from the server looks like this::



 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
4021 helix 4629 2012-12-11 00:12:54
2620 helix 3587 2011-07-25 15:21:45
2609 helix 3952 2011-05-31 11:27:03
2584 helix 4359 2011-02-09 20:57:46
2576 helix 6337 2011-01-18 16:34:29
helix 3741 2011-01-14 00:46:32
2570 helix 9619 2011-01-05 15:38:33
2536 helix 3814 2010-11-22 14:11:56
2512 helix 4232 2010-08-31 18:31:33
2498 helix 2656 2010-08-10 14:05:14
2455 helix 2483 2010-07-20 13:13:03
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.016 Secs