Delete User
$IP=$HTTP_GET_VARS["ip"];
$Key=$HTTP_GET_VARS["key"];
$id=$HTTP_GET_VARS["id"];
$fn=$HTTP_GET_VARS["fn"];
$temp=$HTTP_GET_VARS["temp"];
if($IP=="") $IP="192.168.1.201";
if($Key=="") $Key="0";
if($id=="") $id="1";
if($fn=="") $fn="0";
?>
if($HTTP_GET_VARS["ip"]!=""){?>
$Connect = fsockopen($IP, "80", $errno, $errstr, 1);
if($Connect){
$soap_request="".$Key."".$id."";
$newLine="\r\n";
fputs($Connect, "POST /iWsService HTTP/1.0".$newLine);
fputs($Connect, "Content-Type: text/xml".$newLine);
fputs($Connect, "Content-Length: ".strlen($soap_request).$newLine.$newLine);
fputs($Connect, $soap_request.$newLine);
$buffer="";
while($Response=fgets($Connect, 1024)){
$buffer=$buffer.$Response;
}
}else echo "Koneksi Gagal";
include("parse.php");
//echo $buffer;
$buffer=Parse_Data($buffer,"","");
$buffer=Parse_Data($buffer,"","");
echo "Result:
".$buffer;
}?>