로컬에서 사용하는 자바스크립 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,720
21년 전 조회 1,557
21년 전 조회 1,611
21년 전 조회 2,103
21년 전 조회 1,859
21년 전 조회 2,364
21년 전 조회 3,552
21년 전 조회 1,551
21년 전 조회 1,747
21년 전 조회 3,157
21년 전 조회 2,334
21년 전 조회 3,161
21년 전 조회 2,865
21년 전 조회 3,288
21년 전 조회 5,105
21년 전 조회 2,509
21년 전 조회 4,805
21년 전 조회 2,486
21년 전 조회 3,097
21년 전 조회 7,604
21년 전 조회 3,810
21년 전 조회 3,195
21년 전 조회 4,683
21년 전 조회 2,883
21년 전 조회 6,213
21년 전 조회 4,468
21년 전 조회 5,771
21년 전 조회 3,617
21년 전 조회 5,952
21년 전 조회 3,094
21년 전 조회 2,821
21년 전 조회 2,613
21년 전 조회 2,420
21년 전 조회 2,630
21년 전 조회 2,659
21년 전 조회 3,778
21년 전 조회 2,802
21년 전 조회 2,446
21년 전 조회 2,250
21년 전 조회 3,045
21년 전 조회 3,112
21년 전 조회 2,485
21년 전 조회 2,579
21년 전 조회 2,954
21년 전 조회 2,304
21년 전 조회 2,735
21년 전 조회 2,108
21년 전 조회 2,330
21년 전 조회 2,676
21년 전 조회 2,328
21년 전 조회 2,149
21년 전 조회 2,158
21년 전 조회 2,309
21년 전 조회 1,916
21년 전 조회 1,911
21년 전 조회 2,119
21년 전 조회 2,353
21년 전 조회 4,566
21년 전 조회 2,700
21년 전 조회 2,103
21년 전 조회 2,164
21년 전 조회 2,134
21년 전 조회 2,406
21년 전 조회 2,558
21년 전 조회 1,764
21년 전 조회 4,066
21년 전 조회 3,843
21년 전 조회 2,978
21년 전 조회 2,884
21년 전 조회 5,254
21년 전 조회 4,035
21년 전 조회 4,433
21년 전 조회 3,449
21년 전 조회 5,814
21년 전 조회 3,090
21년 전 조회 6,069
18년 전 조회 3,638
21년 전 조회 3,632
21년 전 조회 4,242
21년 전 조회 3,817
21년 전 조회 4,212
21년 전 조회 6,665
21년 전 조회 4,719
21년 전 조회 6,969
21년 전 조회 4,170
21년 전 조회 2,617
21년 전 조회 4,957
21년 전 조회 3,393
21년 전 조회 3,864
21년 전 조회 3,556
21년 전 조회 3,385
21년 전 조회 3,958
21년 전 조회 5,154
21년 전 조회 4,753
21년 전 조회 5,665
21년 전 조회 4,105
21년 전 조회 4,828
21년 전 조회 4,740
21년 전 조회 3,241
22년 전 조회 4,335