<script>
var url="http://172.16.10.50/zbxe/addons/dams_addon/test.php";
var xmlhttp = null;
if(window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
} else {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open('GET', url,false);
xmlhttp.onreadystatechange = function() {
if(xmlhttp.readyState==4 && xmlhttp.status == 200 && xmlhttp.statusText=='OK') {
responseText = xmlhttp.responseText;
}
}
xmlhttp.send('');
responseText = xmlhttp.responseText;
alert(responseText);
</script>
'php' 카테고리의 다른 글
ie firebug and firephp url (0) | 2008.11.05 |
---|---|
<javascript> firefox ie 모두 잘되게 만든 slide (0) | 2008.10.31 |
php로 ftp만들기 (0) | 2008.09.16 |
php 프로그램 실행 속도 구하기 (0) | 2008.08.12 |
php 메소드 안에서는 include를 쓰지 못한다. (0) | 2008.08.06 |