로컬에서 사용하는 자바스크립 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,809
21년 전 조회 1,638
21년 전 조회 1,707
21년 전 조회 2,187
21년 전 조회 1,938
21년 전 조회 2,443
21년 전 조회 3,630
21년 전 조회 1,636
21년 전 조회 1,831
21년 전 조회 3,250
21년 전 조회 2,421
21년 전 조회 3,234
21년 전 조회 2,951
21년 전 조회 3,368
21년 전 조회 5,190
21년 전 조회 2,592
21년 전 조회 4,890
21년 전 조회 2,578
21년 전 조회 3,187
21년 전 조회 7,687
21년 전 조회 3,899
21년 전 조회 3,276
21년 전 조회 4,762
21년 전 조회 2,969
21년 전 조회 6,299
21년 전 조회 4,551
21년 전 조회 5,857
21년 전 조회 3,706
21년 전 조회 6,043
21년 전 조회 3,178
21년 전 조회 2,902
21년 전 조회 2,690
21년 전 조회 2,508
21년 전 조회 2,711
21년 전 조회 2,748
21년 전 조회 3,865
21년 전 조회 2,883
21년 전 조회 2,531
21년 전 조회 2,342
21년 전 조회 3,129
21년 전 조회 3,206
21년 전 조회 2,568
21년 전 조회 2,660
21년 전 조회 3,046
21년 전 조회 2,393
21년 전 조회 2,819
21년 전 조회 2,197
21년 전 조회 2,414
21년 전 조회 2,753
21년 전 조회 2,408
21년 전 조회 2,234
21년 전 조회 2,240
21년 전 조회 2,397
21년 전 조회 1,999
21년 전 조회 1,996
21년 전 조회 2,201
21년 전 조회 2,429
21년 전 조회 4,642
21년 전 조회 2,788
21년 전 조회 2,178
21년 전 조회 2,245
21년 전 조회 2,217
21년 전 조회 2,496
21년 전 조회 2,643
21년 전 조회 1,849
21년 전 조회 4,143
21년 전 조회 3,930
21년 전 조회 3,055
21년 전 조회 2,972
21년 전 조회 5,328
21년 전 조회 4,120
21년 전 조회 4,511
21년 전 조회 3,533
21년 전 조회 5,903
21년 전 조회 3,164
21년 전 조회 6,149
18년 전 조회 3,712
21년 전 조회 3,720
21년 전 조회 4,321
21년 전 조회 3,892
21년 전 조회 4,287
21년 전 조회 6,753
21년 전 조회 4,803
21년 전 조회 7,053
21년 전 조회 4,251
21년 전 조회 2,698
21년 전 조회 5,034
21년 전 조회 3,477
21년 전 조회 3,954
21년 전 조회 3,636
21년 전 조회 3,465
21년 전 조회 4,032
21년 전 조회 5,228
21년 전 조회 4,839
21년 전 조회 5,744
21년 전 조회 4,186
21년 전 조회 4,907
21년 전 조회 4,818
21년 전 조회 3,314
22년 전 조회 4,410