로컬에서 사용하는 자바스크립 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,712
21년 전 조회 1,549
21년 전 조회 1,602
21년 전 조회 2,095
21년 전 조회 1,852
21년 전 조회 2,354
21년 전 조회 3,544
21년 전 조회 1,541
21년 전 조회 1,738
21년 전 조회 3,150
21년 전 조회 2,325
21년 전 조회 3,152
21년 전 조회 2,855
21년 전 조회 3,281
21년 전 조회 5,097
21년 전 조회 2,499
21년 전 조회 4,795
21년 전 조회 2,477
21년 전 조회 3,088
21년 전 조회 7,596
21년 전 조회 3,805
21년 전 조회 3,189
21년 전 조회 4,673
21년 전 조회 2,875
21년 전 조회 6,203
21년 전 조회 4,460
21년 전 조회 5,764
21년 전 조회 3,608
21년 전 조회 5,944
21년 전 조회 3,088
21년 전 조회 2,813
21년 전 조회 2,605
21년 전 조회 2,414
21년 전 조회 2,622
21년 전 조회 2,649
21년 전 조회 3,771
21년 전 조회 2,792
21년 전 조회 2,435
21년 전 조회 2,240
21년 전 조회 3,036
21년 전 조회 3,103
21년 전 조회 2,477
21년 전 조회 2,571
21년 전 조회 2,947
21년 전 조회 2,296
21년 전 조회 2,728
21년 전 조회 2,098
21년 전 조회 2,322
21년 전 조회 2,668
21년 전 조회 2,319
21년 전 조회 2,142
21년 전 조회 2,151
21년 전 조회 2,300
21년 전 조회 1,908
21년 전 조회 1,903
21년 전 조회 2,111
21년 전 조회 2,343
21년 전 조회 4,553
21년 전 조회 2,689
21년 전 조회 2,093
21년 전 조회 2,153
21년 전 조회 2,125
21년 전 조회 2,397
21년 전 조회 2,548
21년 전 조회 1,758
21년 전 조회 4,059
21년 전 조회 3,836
21년 전 조회 2,972
21년 전 조회 2,877
21년 전 조회 5,246
21년 전 조회 4,027
21년 전 조회 4,424
21년 전 조회 3,441
21년 전 조회 5,806
21년 전 조회 3,082
21년 전 조회 6,062
18년 전 조회 3,628
21년 전 조회 3,624
21년 전 조회 4,235
21년 전 조회 3,812
21년 전 조회 4,203
21년 전 조회 6,657
21년 전 조회 4,712
21년 전 조회 6,959
21년 전 조회 4,160
21년 전 조회 2,611
21년 전 조회 4,951
21년 전 조회 3,386
21년 전 조회 3,857
21년 전 조회 3,550
21년 전 조회 3,377
21년 전 조회 3,954
21년 전 조회 5,147
21년 전 조회 4,743
21년 전 조회 5,657
21년 전 조회 4,097
21년 전 조회 4,819
21년 전 조회 4,731
21년 전 조회 3,231
22년 전 조회 4,327
🐛 버그신고