Hi all - am stuck on the server side of trying to write off an xml file. my current client side code is as follows:
<html>
<head>
<script type="text/javascript">
function storesomething()
{
var objHTTP, strResult, pd;
objHTTP = new ActiveXObject('Microsoft.XMLHTTP');
objHTTP.Open('POST',"Store.asp",false);
objHTTP.setRequestHeader('Content-Type','application/x- pd = "id=4;title='teach ya self xml';url=' pd = escape(pd);
objHTTP.send(pd);
strResult = objHTTP.responseText;
alert(strResult);
}
</script>
</head>
<body>
<form ID="Form1">
<input type="button" onclick="storesomething()" value="write xml" ID="Button1" NAME="Button1">
</form>
</body>
</html>
All i want to do is apend the data passed to it into a guide.xml file. any help would b much appriciated as im soo stuck atm.
<html>
<head>
<script type="text/javascript">
function storesomething()
{
var objHTTP, strResult, pd;
objHTTP = new ActiveXObject('Microsoft.XMLHTTP');
objHTTP.Open('POST',"Store.asp",false);
objHTTP.setRequestHeader('Content-Type','application/x- pd = "id=4;title='teach ya self xml';url=' pd = escape(pd);
objHTTP.send(pd);
strResult = objHTTP.responseText;
alert(strResult);
}
</script>
</head>
<body>
<form ID="Form1">
<input type="button" onclick="storesomething()" value="write xml" ID="Button1" NAME="Button1">
</form>
</body>
</html>
All i want to do is apend the data passed to it into a guide.xml file. any help would b much appriciated as im soo stuck atm.