xml vises på hjemmeside (PHP)
Jeg vil lave en side kan sender smser.Jeg har modtaget følgende fra yourhost.dk :
POST /smsgateway/Default.asmx HTTP/1.1
Host: service.yourhost.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SendSMS xmlns="http://service.yourhost.dk/smsgateway/">
<username>string</username>
<password>string</password>
<phoneNo>string</phoneNo>
<message>string</message>
<flashSMS>boolean</flashSMS>
</SendSMS>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SendSMSResponse xmlns="http://service.yourhost.dk/smsgateway/">
<SendSMSResult>int</SendSMSResult>
<sentCount>int</sentCount>
<messageID>string</messageID>
</SendSMSResponse>
</soap12:Body>
</soap12:Envelope>
Hvordan få jeg sciptet ind i php filen ??