로컬에서 사용하는 자바스크립 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,790
21년 전 조회 1,626
21년 전 조회 1,683
21년 전 조회 2,163
21년 전 조회 1,920
21년 전 조회 2,425
21년 전 조회 3,611
21년 전 조회 1,614
21년 전 조회 1,809
21년 전 조회 3,227
21년 전 조회 2,396
21년 전 조회 3,211
21년 전 조회 2,925
21년 전 조회 3,346
21년 전 조회 5,169
21년 전 조회 2,567
21년 전 조회 4,870
21년 전 조회 2,553
21년 전 조회 3,158
21년 전 조회 7,669
21년 전 조회 3,882
21년 전 조회 3,258
21년 전 조회 4,741
21년 전 조회 2,951
21년 전 조회 6,274
21년 전 조회 4,529
21년 전 조회 5,831
21년 전 조회 3,682
21년 전 조회 6,016
21년 전 조회 3,154
21년 전 조회 2,877
21년 전 조회 2,675
21년 전 조회 2,487
21년 전 조회 2,686
21년 전 조회 2,724
21년 전 조회 3,842
21년 전 조회 2,859
21년 전 조회 2,509
21년 전 조회 2,312
21년 전 조회 3,103
21년 전 조회 3,179
21년 전 조회 2,545
21년 전 조회 2,634
21년 전 조회 3,020
21년 전 조회 2,378
21년 전 조회 2,795
21년 전 조회 2,175
21년 전 조회 2,393
21년 전 조회 2,736
21년 전 조회 2,382
21년 전 조회 2,210
21년 전 조회 2,224
21년 전 조회 2,375
21년 전 조회 1,981
21년 전 조회 1,967
21년 전 조회 2,180
21년 전 조회 2,406
21년 전 조회 4,622
21년 전 조회 2,766
21년 전 조회 2,160
21년 전 조회 2,218
21년 전 조회 2,187
21년 전 조회 2,471
21년 전 조회 2,618
21년 전 조회 1,828
21년 전 조회 4,121
21년 전 조회 3,904
21년 전 조회 3,034
21년 전 조회 2,948
21년 전 조회 5,305
21년 전 조회 4,101
21년 전 조회 4,492
21년 전 조회 3,510
21년 전 조회 5,874
21년 전 조회 3,151
21년 전 조회 6,124
18년 전 조회 3,692
21년 전 조회 3,700
21년 전 조회 4,301
21년 전 조회 3,875
21년 전 조회 4,270
21년 전 조회 6,726
21년 전 조회 4,779
21년 전 조회 7,029
21년 전 조회 4,225
21년 전 조회 2,671
21년 전 조회 5,010
21년 전 조회 3,458
21년 전 조회 3,929
21년 전 조회 3,618
21년 전 조회 3,445
21년 전 조회 4,012
21년 전 조회 5,204
21년 전 조회 4,812
21년 전 조회 5,719
21년 전 조회 4,162
21년 전 조회 4,887
21년 전 조회 4,800
21년 전 조회 3,290
22년 전 조회 4,384