- Apache 2.4.3
- MySQL 5.5.27
- PHP 5.4.7
- phpMyAdmin 3.5.2.2
- FileZilla FTP Server 0.9.41
- Tomcat 7.0.30 (with mod_proxy_ajp as connector)
- Strawberry Perl 5.16.1.1 Portable
- XAMPP Control Panel 3.1.0 (from hackattack142
:)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
| < html > < head > < title >Contoh AJAX title> < script language = "javascript" > function GetXmlHttpObject(){ var xmlHttp=null; try { //Untuk Browser Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ //Untuk Browser Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } function getpages(url,centercol) { xmlHttp=GetXmlHttpObject(); if (xmlHttp) { var obj = document.getElementById(centercol); xmlHttp.open("GET", url); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 1) { obj.innerHTML = '< img alt=\"Halaman Sedang Dimuat \" src=\"images/wait.gif\" alt=\"loading\" / >'; } if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { obj.innerHTML = xmlHttp.responseText; } } xmlHttp.send(null); } } </ script > </ head > < body > < h1 >Request File Dari HTML </ h1 > < form > < input value = "Request File " onclick = "getpages('request.html','centercol')" type = "button" > </ form > < div id = "centercol" > File request.html akan ditampilkan disini </ div > </ body > </ html > |
1
| Text ini ditampilkan dengan metode proses request < strong >Aj |