로컬에서 사용하는 자바스크립 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,878
21년 전 조회 1,706
21년 전 조회 1,779
21년 전 조회 2,249
21년 전 조회 2,010
21년 전 조회 2,510
21년 전 조회 3,707
21년 전 조회 1,709
21년 전 조회 1,914
21년 전 조회 3,316
21년 전 조회 2,494
21년 전 조회 3,308
21년 전 조회 3,023
21년 전 조회 3,438
21년 전 조회 5,257
21년 전 조회 2,663
21년 전 조회 4,957
21년 전 조회 2,650
21년 전 조회 3,250
21년 전 조회 7,745
21년 전 조회 3,971
21년 전 조회 3,356
21년 전 조회 4,837
21년 전 조회 3,042
21년 전 조회 6,370
21년 전 조회 4,624
21년 전 조회 5,922
21년 전 조회 3,768
21년 전 조회 6,116
21년 전 조회 3,263
21년 전 조회 2,969
21년 전 조회 2,770
21년 전 조회 2,576
21년 전 조회 2,791
21년 전 조회 2,816
21년 전 조회 3,931
21년 전 조회 2,967
21년 전 조회 2,601
21년 전 조회 2,409
21년 전 조회 3,205
21년 전 조회 3,274
21년 전 조회 2,629
21년 전 조회 2,738
21년 전 조회 3,110
21년 전 조회 2,462
21년 전 조회 2,880
21년 전 조회 2,275
21년 전 조회 2,485
21년 전 조회 2,825
21년 전 조회 2,479
21년 전 조회 2,303
21년 전 조회 2,311
21년 전 조회 2,470
21년 전 조회 2,071
21년 전 조회 2,064
21년 전 조회 2,266
21년 전 조회 2,506
21년 전 조회 4,705
21년 전 조회 2,870
21년 전 조회 2,253
21년 전 조회 2,319
21년 전 조회 2,289
21년 전 조회 2,557
21년 전 조회 2,718
21년 전 조회 1,925
21년 전 조회 4,211
21년 전 조회 3,997
21년 전 조회 3,129
21년 전 조회 3,041
21년 전 조회 5,390
21년 전 조회 4,191
21년 전 조회 4,582
21년 전 조회 3,600
21년 전 조회 5,971
21년 전 조회 3,230
21년 전 조회 6,216
18년 전 조회 3,773
21년 전 조회 3,783
21년 전 조회 4,392
21년 전 조회 3,965
21년 전 조회 4,355
21년 전 조회 6,817
21년 전 조회 4,870
21년 전 조회 7,121
21년 전 조회 4,327
21년 전 조회 2,757
21년 전 조회 5,106
21년 전 조회 3,557
21년 전 조회 4,025
21년 전 조회 3,706
21년 전 조회 3,542
21년 전 조회 4,100
21년 전 조회 5,303
21년 전 조회 4,904
21년 전 조회 5,823
21년 전 조회 4,245
21년 전 조회 4,990
21년 전 조회 4,884
21년 전 조회 3,385
22년 전 조회 4,476