로컬에서 사용하는 자바스크립 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,855
21년 전 조회 1,681
21년 전 조회 1,756
21년 전 조회 2,220
21년 전 조회 1,989
21년 전 조회 2,482
21년 전 조회 3,678
21년 전 조회 1,682
21년 전 조회 1,879
21년 전 조회 3,294
21년 전 조회 2,472
21년 전 조회 3,272
21년 전 조회 2,995
21년 전 조회 3,411
21년 전 조회 5,225
21년 전 조회 2,640
21년 전 조회 4,928
21년 전 조회 2,619
21년 전 조회 3,226
21년 전 조회 7,726
21년 전 조회 3,942
21년 전 조회 3,327
21년 전 조회 4,817
21년 전 조회 3,021
21년 전 조회 6,346
21년 전 조회 4,597
21년 전 조회 5,894
21년 전 조회 3,748
21년 전 조회 6,085
21년 전 조회 3,232
21년 전 조회 2,950
21년 전 조회 2,738
21년 전 조회 2,556
21년 전 조회 2,757
21년 전 조회 2,794
21년 전 조회 3,906
21년 전 조회 2,933
21년 전 조회 2,578
21년 전 조회 2,379
21년 전 조회 3,179
21년 전 조회 3,251
21년 전 조회 2,608
21년 전 조회 2,710
21년 전 조회 3,094
21년 전 조회 2,440
21년 전 조회 2,858
21년 전 조회 2,249
21년 전 조회 2,454
21년 전 조회 2,799
21년 전 조회 2,455
21년 전 조회 2,278
21년 전 조회 2,286
21년 전 조회 2,442
21년 전 조회 2,041
21년 전 조회 2,036
21년 전 조회 2,240
21년 전 조회 2,480
21년 전 조회 4,689
21년 전 조회 2,844
21년 전 조회 2,223
21년 전 조회 2,293
21년 전 조회 2,262
21년 전 조회 2,534
21년 전 조회 2,691
21년 전 조회 1,896
21년 전 조회 4,186
21년 전 조회 3,974
21년 전 조회 3,102
21년 전 조회 3,014
21년 전 조회 5,369
21년 전 조회 4,167
21년 전 조회 4,556
21년 전 조회 3,577
21년 전 조회 5,946
21년 전 조회 3,213
21년 전 조회 6,187
18년 전 조회 3,750
21년 전 조회 3,765
21년 전 조회 4,361
21년 전 조회 3,936
21년 전 조회 4,332
21년 전 조회 6,790
21년 전 조회 4,840
21년 전 조회 7,103
21년 전 조회 4,300
21년 전 조회 2,736
21년 전 조회 5,082
21년 전 조회 3,527
21년 전 조회 3,994
21년 전 조회 3,681
21년 전 조회 3,519
21년 전 조회 4,075
21년 전 조회 5,279
21년 전 조회 4,880
21년 전 조회 5,796
21년 전 조회 4,217
21년 전 조회 4,964
21년 전 조회 4,865
21년 전 조회 3,360
22년 전 조회 4,455