


<script type="text/javascript" language="javascript">var xmlHttpAjax var containerAjax = ""; function sendToServer(str, loadingPlace){ xmlHttpAjax = GetXmlHttpObjectByBrowser()if (xmlHttpAjax==null){alert ("Browser does not support HTTP Request")return; } url = str; url += "&sid="+Math.random() xmlHttpAjax.onreadystatechange = checkState xmlHttpAjax.open("GET",url,true) xmlHttpAjax.send(null) containerAjax = loadingPlace } function checkState(){if (xmlHttpAjax.readyState==4 || xmlHttpAjax.readyState=="complete"){document.getElementById(containerAjax).innerHTML = xmlHttpAjax.responseText; }} function GetXmlHttpObjectByBrowser(){var objXMLHttp = nullif (window.XMLHttpRequest) objXMLHttp = new XMLHttpRequest()else if (window.ActiveXObject) objXMLHttp = new ActiveXObject("Microsoft.XMLHTTP")return objXMLHttp }
</script><div id="resultControl"></div><input type="text" id="infoToSend" /><input type="button" value="Send to server" onclick="sendToServer('sample.php?content='+document.getElementById('infoToSend').value, 'resultControl')" />
You said: <?echo $_GET["p"]; ?>