로컬에서 사용하는 자바스크립 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,776
21년 전 조회 1,610
21년 전 조회 1,671
21년 전 조회 2,151
21년 전 조회 1,910
21년 전 조회 2,409
21년 전 조회 3,597
21년 전 조회 1,604
21년 전 조회 1,794
21년 전 조회 3,216
21년 전 조회 2,379
21년 전 조회 3,201
21년 전 조회 2,914
21년 전 조회 3,334
21년 전 조회 5,151
21년 전 조회 2,556
21년 전 조회 4,853
21년 전 조회 2,543
21년 전 조회 3,146
21년 전 조회 7,655
21년 전 조회 3,860
21년 전 조회 3,248
21년 전 조회 4,728
21년 전 조회 2,938
21년 전 조회 6,266
21년 전 조회 4,515
21년 전 조회 5,820
21년 전 조회 3,672
21년 전 조회 6,003
21년 전 조회 3,145
21년 전 조회 2,867
21년 전 조회 2,664
21년 전 조회 2,471
21년 전 조회 2,675
21년 전 조회 2,711
21년 전 조회 3,829
21년 전 조회 2,848
21년 전 조회 2,499
21년 전 조회 2,303
21년 전 조회 3,090
21년 전 조회 3,168
21년 전 조회 2,535
21년 전 조회 2,621
21년 전 조회 3,006
21년 전 조회 2,366
21년 전 조회 2,782
21년 전 조회 2,164
21년 전 조회 2,379
21년 전 조회 2,724
21년 전 조회 2,374
21년 전 조회 2,195
21년 전 조회 2,205
21년 전 조회 2,361
21년 전 조회 1,968
21년 전 조회 1,954
21년 전 조회 2,164
21년 전 조회 2,393
21년 전 조회 4,607
21년 전 조회 2,756
21년 전 조회 2,148
21년 전 조회 2,205
21년 전 조회 2,171
21년 전 조회 2,453
21년 전 조회 2,604
21년 전 조회 1,816
21년 전 조회 4,110
21년 전 조회 3,893
21년 전 조회 3,026
21년 전 조회 2,932
21년 전 조회 5,295
21년 전 조회 4,087
21년 전 조회 4,482
21년 전 조회 3,494
21년 전 조회 5,865
21년 전 조회 3,139
21년 전 조회 6,112
18년 전 조회 3,675
21년 전 조회 3,685
21년 전 조회 4,285
21년 전 조회 3,864
21년 전 조회 4,252
21년 전 조회 6,714
21년 전 조회 4,765
21년 전 조회 7,018
21년 전 조회 4,212
21년 전 조회 2,658
21년 전 조회 4,998
21년 전 조회 3,439
21년 전 조회 3,917
21년 전 조회 3,601
21년 전 조회 3,434
21년 전 조회 4,002
21년 전 조회 5,194
21년 전 조회 4,802
21년 전 조회 5,707
21년 전 조회 4,149
21년 전 조회 4,875
21년 전 조회 4,782
21년 전 조회 3,281
22년 전 조회 4,373