I have created (with PHP), a string which is composed of xml.
E.g.
$xmlstring=
<?"xml version="1.0" encoding="ISO-8859-7"?>
<Request>
<id>name</id>
<Type>00</Type>
<Trans>3838384859</Trans>
<Amount>5045</Amount>
</Request>" ;
Now, i want to pass this string to an .asp file.
However, i dont want to write to the file using fwrite($fopen,$xmlstring)
because that would erase the contents of the .asp file.
I want to send it as a string so that the .asp file can take all the data from the string and do different things with it.
Is there a function in PHP which does the same as "XMLHttp.send($xmlstring)" does in VBScript?
Its the same when you send a form using POST to another page.You dont write to that page, you just pass some values to it.