로컬에서 사용하는 자바스크립 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,724
21년 전 조회 1,564
21년 전 조회 1,620
21년 전 조회 2,108
21년 전 조회 1,864
21년 전 조회 2,369
21년 전 조회 3,555
21년 전 조회 1,555
21년 전 조회 1,750
21년 전 조회 3,166
21년 전 조회 2,340
21년 전 조회 3,165
21년 전 조회 2,867
21년 전 조회 3,295
21년 전 조회 5,110
21년 전 조회 2,512
21년 전 조회 4,810
21년 전 조회 2,490
21년 전 조회 3,100
21년 전 조회 7,607
21년 전 조회 3,816
21년 전 조회 3,203
21년 전 조회 4,688
21년 전 조회 2,890
21년 전 조회 6,217
21년 전 조회 4,469
21년 전 조회 5,776
21년 전 조회 3,622
21년 전 조회 5,954
21년 전 조회 3,101
21년 전 조회 2,826
21년 전 조회 2,617
21년 전 조회 2,424
21년 전 조회 2,636
21년 전 조회 2,665
21년 전 조회 3,783
21년 전 조회 2,805
21년 전 조회 2,451
21년 전 조회 2,254
21년 전 조회 3,047
21년 전 조회 3,116
21년 전 조회 2,494
21년 전 조회 2,584
21년 전 조회 2,961
21년 전 조회 2,314
21년 전 조회 2,740
21년 전 조회 2,114
21년 전 조회 2,337
21년 전 조회 2,682
21년 전 조회 2,332
21년 전 조회 2,150
21년 전 조회 2,164
21년 전 조회 2,316
21년 전 조회 1,921
21년 전 조회 1,920
21년 전 조회 2,124
21년 전 조회 2,357
21년 전 조회 4,569
21년 전 조회 2,708
21년 전 조회 2,107
21년 전 조회 2,171
21년 전 조회 2,138
21년 전 조회 2,412
21년 전 조회 2,567
21년 전 조회 1,770
21년 전 조회 4,069
21년 전 조회 3,849
21년 전 조회 2,983
21년 전 조회 2,889
21년 전 조회 5,255
21년 전 조회 4,042
21년 전 조회 4,439
21년 전 조회 3,455
21년 전 조회 5,821
21년 전 조회 3,093
21년 전 조회 6,074
18년 전 조회 3,643
21년 전 조회 3,640
21년 전 조회 4,246
21년 전 조회 3,821
21년 전 조회 4,215
21년 전 조회 6,674
21년 전 조회 4,724
21년 전 조회 6,977
21년 전 조회 4,175
21년 전 조회 2,625
21년 전 조회 4,964
21년 전 조회 3,403
21년 전 조회 3,872
21년 전 조회 3,561
21년 전 조회 3,390
21년 전 조회 3,965
21년 전 조회 5,159
21년 전 조회 4,759
21년 전 조회 5,673
21년 전 조회 4,110
21년 전 조회 4,836
21년 전 조회 4,746
21년 전 조회 3,245
22년 전 조회 4,339