로컬에서 사용하는 자바스크립 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,779
21년 전 조회 1,613
21년 전 조회 1,674
21년 전 조회 2,154
21년 전 조회 1,911
21년 전 조회 2,413
21년 전 조회 3,602
21년 전 조회 1,606
21년 전 조회 1,798
21년 전 조회 3,217
21년 전 조회 2,383
21년 전 조회 3,204
21년 전 조회 2,916
21년 전 조회 3,338
21년 전 조회 5,155
21년 전 조회 2,559
21년 전 조회 4,858
21년 전 조회 2,546
21년 전 조회 3,148
21년 전 조회 7,658
21년 전 조회 3,866
21년 전 조회 3,250
21년 전 조회 4,731
21년 전 조회 2,940
21년 전 조회 6,266
21년 전 조회 4,518
21년 전 조회 5,824
21년 전 조회 3,678
21년 전 조회 6,007
21년 전 조회 3,147
21년 전 조회 2,868
21년 전 조회 2,664
21년 전 조회 2,475
21년 전 조회 2,677
21년 전 조회 2,713
21년 전 조회 3,833
21년 전 조회 2,850
21년 전 조회 2,502
21년 전 조회 2,306
21년 전 조회 3,092
21년 전 조회 3,169
21년 전 조회 2,538
21년 전 조회 2,624
21년 전 조회 3,006
21년 전 조회 2,368
21년 전 조회 2,785
21년 전 조회 2,166
21년 전 조회 2,384
21년 전 조회 2,727
21년 전 조회 2,375
21년 전 조회 2,197
21년 전 조회 2,208
21년 전 조회 2,365
21년 전 조회 1,970
21년 전 조회 1,956
21년 전 조회 2,166
21년 전 조회 2,396
21년 전 조회 4,610
21년 전 조회 2,757
21년 전 조회 2,149
21년 전 조회 2,207
21년 전 조회 2,176
21년 전 조회 2,456
21년 전 조회 2,606
21년 전 조회 1,819
21년 전 조회 4,112
21년 전 조회 3,897
21년 전 조회 3,027
21년 전 조회 2,935
21년 전 조회 5,296
21년 전 조회 4,089
21년 전 조회 4,484
21년 전 조회 3,494
21년 전 조회 5,866
21년 전 조회 3,141
21년 전 조회 6,115
18년 전 조회 3,677
21년 전 조회 3,685
21년 전 조회 4,287
21년 전 조회 3,867
21년 전 조회 4,254
21년 전 조회 6,717
21년 전 조회 4,769
21년 전 조회 7,020
21년 전 조회 4,215
21년 전 조회 2,660
21년 전 조회 5,002
21년 전 조회 3,442
21년 전 조회 3,919
21년 전 조회 3,606
21년 전 조회 3,434
21년 전 조회 4,002
21년 전 조회 5,195
21년 전 조회 4,804
21년 전 조회 5,708
21년 전 조회 4,152
21년 전 조회 4,876
21년 전 조회 4,785
21년 전 조회 3,284
22년 전 조회 4,375