로컬에서 사용하는 자바스크립 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,771
21년 전 조회 1,602
21년 전 조회 1,660
21년 전 조회 2,144
21년 전 조회 1,900
21년 전 조회 2,401
21년 전 조회 3,588
21년 전 조회 1,593
21년 전 조회 1,791
21년 전 조회 3,206
21년 전 조회 2,375
21년 전 조회 3,197
21년 전 조회 2,909
21년 전 조회 3,328
21년 전 조회 5,145
21년 전 조회 2,554
21년 전 조회 4,846
21년 전 조회 2,535
21년 전 조회 3,140
21년 전 조회 7,646
21년 전 조회 3,854
21년 전 조회 3,238
21년 전 조회 4,725
21년 전 조회 2,931
21년 전 조회 6,258
21년 전 조회 4,510
21년 전 조회 5,812
21년 전 조회 3,662
21년 전 조회 5,992
21년 전 조회 3,140
21년 전 조회 2,862
21년 전 조회 2,657
21년 전 조회 2,464
21년 전 조회 2,668
21년 전 조회 2,703
21년 전 조회 3,820
21년 전 조회 2,841
21년 전 조회 2,490
21년 전 조회 2,297
21년 전 조회 3,083
21년 전 조회 3,157
21년 전 조회 2,526
21년 전 조회 2,616
21년 전 조회 3,001
21년 전 조회 2,353
21년 전 조회 2,777
21년 전 조회 2,157
21년 전 조회 2,373
21년 전 조회 2,715
21년 전 조회 2,362
21년 전 조회 2,187
21년 전 조회 2,199
21년 전 조회 2,354
21년 전 조회 1,960
21년 전 조회 1,950
21년 전 조회 2,160
21년 전 조회 2,385
21년 전 조회 4,599
21년 전 조회 2,748
21년 전 조회 2,142
21년 전 조회 2,201
21년 전 조회 2,165
21년 전 조회 2,449
21년 전 조회 2,600
21년 전 조회 1,808
21년 전 조회 4,103
21년 전 조회 3,889
21년 전 조회 3,018
21년 전 조회 2,927
21년 전 조회 5,287
21년 전 조회 4,078
21년 전 조회 4,478
21년 전 조회 3,487
21년 전 조회 5,857
21년 전 조회 3,130
21년 전 조회 6,107
18년 전 조회 3,671
21년 전 조회 3,680
21년 전 조회 4,280
21년 전 조회 3,855
21년 전 조회 4,247
21년 전 조회 6,707
21년 전 조회 4,756
21년 전 조회 7,010
21년 전 조회 4,205
21년 전 조회 2,652
21년 전 조회 4,991
21년 전 조회 3,436
21년 전 조회 3,909
21년 전 조회 3,595
21년 전 조회 3,424
21년 전 조회 3,995
21년 전 조회 5,189
21년 전 조회 4,793
21년 전 조회 5,705
21년 전 조회 4,141
21년 전 조회 4,865
21년 전 조회 4,777
21년 전 조회 3,273
22년 전 조회 4,370