var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp.open("post","http://bbs.pdafans.com/logging.php?action=login",false)
xmlhttp.send()
if (xmlhttp.readyState==4)
document.write("<textarea cols=50 rows=10>"+xmlhttp.getAllResponseHeaders()+"</textarea>")
/**************************
发送错误信息
****************************/
function error_messages($why)
{
echo $why;
exit();
}
/**************************
处理所有的url
****************************/
function DealURL()
{
global $url,$host,$path,$link,$schoolpath,$collegepath,$serverpath,$port,$ip,$filename;