로컬에서 사용하는 자바스크립 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,803
21년 전 조회 1,637
21년 전 조회 1,697
21년 전 조회 2,178
21년 전 조회 1,933
21년 전 조회 2,437
21년 전 조회 3,623
21년 전 조회 1,627
21년 전 조회 1,822
21년 전 조회 3,242
21년 전 조회 2,411
21년 전 조회 3,226
21년 전 조회 2,944
21년 전 조회 3,361
21년 전 조회 5,180
21년 전 조회 2,582
21년 전 조회 4,882
21년 전 조회 2,568
21년 전 조회 3,176
21년 전 조회 7,682
21년 전 조회 3,895
21년 전 조회 3,271
21년 전 조회 4,754
21년 전 조회 2,959
21년 전 조회 6,293
21년 전 조회 4,544
21년 전 조회 5,846
21년 전 조회 3,696
21년 전 조회 6,032
21년 전 조회 3,172
21년 전 조회 2,891
21년 전 조회 2,687
21년 전 조회 2,502
21년 전 조회 2,703
21년 전 조회 2,739
21년 전 조회 3,856
21년 전 조회 2,873
21년 전 조회 2,524
21년 전 조회 2,330
21년 전 조회 3,121
21년 전 조회 3,194
21년 전 조회 2,558
21년 전 조회 2,649
21년 전 조회 3,031
21년 전 조회 2,385
21년 전 조회 2,813
21년 전 조회 2,194
21년 전 조회 2,403
21년 전 조회 2,748
21년 전 조회 2,399
21년 전 조회 2,224
21년 전 조회 2,234
21년 전 조회 2,387
21년 전 조회 1,990
21년 전 조회 1,981
21년 전 조회 2,193
21년 전 조회 2,420
21년 전 조회 4,634
21년 전 조회 2,782
21년 전 조회 2,170
21년 전 조회 2,230
21년 전 조회 2,203
21년 전 조회 2,485
21년 전 조회 2,633
21년 전 조회 1,844
21년 전 조회 4,133
21년 전 조회 3,922
21년 전 조회 3,052
21년 전 조회 2,966
21년 전 조회 5,321
21년 전 조회 4,116
21년 전 조회 4,504
21년 전 조회 3,527
21년 전 조회 5,889
21년 전 조회 3,162
21년 전 조회 6,143
18년 전 조회 3,705
21년 전 조회 3,715
21년 전 조회 4,312
21년 전 조회 3,887
21년 전 조회 4,281
21년 전 조회 6,740
21년 전 조회 4,797
21년 전 조회 7,046
21년 전 조회 4,239
21년 전 조회 2,685
21년 전 조회 5,029
21년 전 조회 3,472
21년 전 조회 3,946
21년 전 조회 3,632
21년 전 조회 3,458
21년 전 조회 4,027
21년 전 조회 5,221
21년 전 조회 4,827
21년 전 조회 5,735
21년 전 조회 4,176
21년 전 조회 4,901
21년 전 조회 4,810
21년 전 조회 3,305
22년 전 조회 4,402