로컬에서 사용하는 자바스크립 HTML소스가져오기

삽질중 우연히 아래 소스를 발견해서 올립니다.
참고하세요.
<html>
<head>
<title>::: 노글스 :::</title>
</head>
<body>
<input type=button onClick=chk() value="chk">
결과

<script>
var sHttp = new ActiveXObject("Microsoft.xmlhttp");

function httpGet(szURL) {
sHttp.open("get",szURL,false);
sHttp.setRequestHeader( "Content-type:", "application/x-www-form-urlencoded");
sHttp.setRequestHeader("Content-Encoding:", "euc-kr");


sHttp.onreadystatechange = onRetriveComplete;
try{
sHttp.send("code=tnt2");
}
catch(e) {
return ("Not exist");
}

if (sHttp.status > 200) {
return("not exist<br>");
} else


return(sHttp.responseText);

}

function onRetriveComplete() {
sHttp.onreadystatechange = noop; //re-entrant gate
if (sHttp.readyState == 4) {
}
}

function noop() {
return false;
}

function chk() {

getData=httpGet("http://www.phpschool.com/bbs2/inc_board.html");

document.noglsForm.test.value=getData;

}
</script>

<form name=noglsForm>
<textarea name=test rows=200 cols=200></textarea>
</form>
</body>
</html>



//////////php스쿨발췌~~<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
|

댓글 4개

- ㅝ~~~~~!

감사 합니다~! (__)끄빡
감사합니다~
감사합니다~
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
21년 전 조회 1,780
21년 전 조회 1,620
21년 전 조회 1,679
21년 전 조회 2,159
21년 전 조회 1,915
21년 전 조회 2,417
21년 전 조회 3,608
21년 전 조회 1,609
21년 전 조회 1,800
21년 전 조회 3,220
21년 전 조회 2,384
21년 전 조회 3,207
21년 전 조회 2,920
21년 전 조회 3,344
21년 전 조회 5,161
21년 전 조회 2,563
21년 전 조회 4,861
21년 전 조회 2,550
21년 전 조회 3,151
21년 전 조회 7,663
21년 전 조회 3,874
21년 전 조회 3,252
21년 전 조회 4,732
21년 전 조회 2,947
21년 전 조회 6,271
21년 전 조회 4,521
21년 전 조회 5,827
21년 전 조회 3,680
21년 전 조회 6,011
21년 전 조회 3,150
21년 전 조회 2,873
21년 전 조회 2,668
21년 전 조회 2,480
21년 전 조회 2,680
21년 전 조회 2,714
21년 전 조회 3,835
21년 전 조회 2,852
21년 전 조회 2,507
21년 전 조회 2,309
21년 전 조회 3,094
21년 전 조회 3,172
21년 전 조회 2,540
21년 전 조회 2,627
21년 전 조회 3,012
21년 전 조회 2,371
21년 전 조회 2,786
21년 전 조회 2,168
21년 전 조회 2,389
21년 전 조회 2,729
21년 전 조회 2,378
21년 전 조회 2,201
21년 전 조회 2,216
21년 전 조회 2,370
21년 전 조회 1,972
21년 전 조회 1,958
21년 전 조회 2,172
21년 전 조회 2,399
21년 전 조회 4,612
21년 전 조회 2,761
21년 전 조회 2,154
21년 전 조회 2,212
21년 전 조회 2,183
21년 전 조회 2,462
21년 전 조회 2,612
21년 전 조회 1,821
21년 전 조회 4,116
21년 전 조회 3,902
21년 전 조회 3,031
21년 전 조회 2,940
21년 전 조회 5,297
21년 전 조회 4,094
21년 전 조회 4,489
21년 전 조회 3,498
21년 전 조회 5,869
21년 전 조회 3,146
21년 전 조회 6,119
18년 전 조회 3,679
21년 전 조회 3,692
21년 전 조회 4,291
21년 전 조회 3,872
21년 전 조회 4,261
21년 전 조회 6,723
21년 전 조회 4,774
21년 전 조회 7,025
21년 전 조회 4,219
21년 전 조회 2,665
21년 전 조회 5,003
21년 전 조회 3,451
21년 전 조회 3,924
21년 전 조회 3,610
21년 전 조회 3,438
21년 전 조회 4,006
21년 전 조회 5,199
21년 전 조회 4,804
21년 전 조회 5,717
21년 전 조회 4,156
21년 전 조회 4,879
21년 전 조회 4,790
21년 전 조회 3,286
22년 전 조회 4,381