로컬에서 사용하는 자바스크립 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,779
21년 전 조회 1,614
21년 전 조회 1,677
21년 전 조회 2,156
21년 전 조회 1,915
21년 전 조회 2,415
21년 전 조회 3,605
21년 전 조회 1,608
21년 전 조회 1,800
21년 전 조회 3,218
21년 전 조회 2,384
21년 전 조회 3,206
21년 전 조회 2,917
21년 전 조회 3,342
21년 전 조회 5,156
21년 전 조회 2,562
21년 전 조회 4,860
21년 전 조회 2,546
21년 전 조회 3,149
21년 전 조회 7,662
21년 전 조회 3,871
21년 전 조회 3,251
21년 전 조회 4,731
21년 전 조회 2,945
21년 전 조회 6,271
21년 전 조회 4,519
21년 전 조회 5,826
21년 전 조회 3,679
21년 전 조회 6,008
21년 전 조회 3,150
21년 전 조회 2,870
21년 전 조회 2,667
21년 전 조회 2,477
21년 전 조회 2,678
21년 전 조회 2,714
21년 전 조회 3,834
21년 전 조회 2,852
21년 전 조회 2,505
21년 전 조회 2,306
21년 전 조회 3,094
21년 전 조회 3,170
21년 전 조회 2,539
21년 전 조회 2,627
21년 전 조회 3,010
21년 전 조회 2,370
21년 전 조회 2,786
21년 전 조회 2,167
21년 전 조회 2,389
21년 전 조회 2,728
21년 전 조회 2,378
21년 전 조회 2,200
21년 전 조회 2,213
21년 전 조회 2,369
21년 전 조회 1,972
21년 전 조회 1,957
21년 전 조회 2,169
21년 전 조회 2,397
21년 전 조회 4,611
21년 전 조회 2,759
21년 전 조회 2,152
21년 전 조회 2,210
21년 전 조회 2,180
21년 전 조회 2,458
21년 전 조회 2,608
21년 전 조회 1,819
21년 전 조회 4,113
21년 전 조회 3,902
21년 전 조회 3,030
21년 전 조회 2,937
21년 전 조회 5,297
21년 전 조회 4,092
21년 전 조회 4,488
21년 전 조회 3,497
21년 전 조회 5,869
21년 전 조회 3,144
21년 전 조회 6,117
18년 전 조회 3,678
21년 전 조회 3,690
21년 전 조회 4,288
21년 전 조회 3,872
21년 전 조회 4,259
21년 전 조회 6,723
21년 전 조회 4,770
21년 전 조회 7,022
21년 전 조회 4,216
21년 전 조회 2,662
21년 전 조회 5,003
21년 전 조회 3,448
21년 전 조회 3,923
21년 전 조회 3,608
21년 전 조회 3,438
21년 전 조회 4,004
21년 전 조회 5,197
21년 전 조회 4,804
21년 전 조회 5,712
21년 전 조회 4,154
21년 전 조회 4,878
21년 전 조회 4,788
21년 전 조회 3,285
22년 전 조회 4,377