<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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5977 | 9년 전 | 213 | ||
| 5976 | 9년 전 | 246 | ||
| 5975 | 9년 전 | 278 | ||
| 5974 | 9년 전 | 371 | ||
| 5973 | 9년 전 | 416 | ||
| 5972 | 9년 전 | 261 | ||
| 5971 | 9년 전 | 305 | ||
| 5970 | 9년 전 | 270 | ||
| 5969 | 9년 전 | 196 | ||
| 5968 | 9년 전 | 182 | ||
| 5967 | 9년 전 | 361 | ||
| 5966 | 9년 전 | 221 | ||
| 5965 | 9년 전 | 211 | ||
| 5964 | 9년 전 | 207 | ||
| 5963 | 9년 전 | 298 | ||
| 5962 | 9년 전 | 358 | ||
| 5961 | 9년 전 | 267 | ||
| 5960 | 9년 전 | 303 | ||
| 5959 | 9년 전 | 236 | ||
| 5958 |
|
9년 전 | 515 | |
| 5957 | 9년 전 | 346 | ||
| 5956 | 9년 전 | 317 | ||
| 5955 | 9년 전 | 317 | ||
| 5954 | 9년 전 | 240 | ||
| 5953 | 9년 전 | 378 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기