<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>
댓글 1개
게시판 목록
팁게시판
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 102 | 21년 전 | 2228 | ||
| 101 | 21년 전 | 2558 | ||
| 100 | 21년 전 | 1731 | ||
| 99 | 21년 전 | 1587 | ||
| 98 | 21년 전 | 1633 | ||
| 97 | 21년 전 | 2134 | ||
| 96 | 21년 전 | 1874 | ||
| 95 | 21년 전 | 2388 | ||
| 94 | 21년 전 | 3586 | ||
| 93 | 21년 전 | 1587 | ||
| 92 | 21년 전 | 1757 | ||
| 91 | 21년 전 | 3166 | ||
| 90 | 21년 전 | 2346 | ||
| 89 | 21년 전 | 3171 | ||
| 88 | 21년 전 | 2874 | ||
| 87 | 21년 전 | 3296 | ||
| 86 | 21년 전 | 5115 | ||
| 85 | 21년 전 | 2532 | ||
| 84 | 21년 전 | 4826 | ||
| 83 | 21년 전 | 2495 | ||
| 82 | 21년 전 | 3115 | ||
| 81 | 21년 전 | 7607 | ||
| 80 | 21년 전 | 3829 | ||
| 79 | 21년 전 | 3212 | ||
| 78 | 21년 전 | 4689 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기