Good day Michael.

I've done that as

$xml_data = file_get_contents("php://input");
$xml_object = new SimpleXMLElement($xml_data);

And it works.

Best regards,
Ilya Dyoshin



Michael Horowitz пишет:
Simple XML has great tools to read xml from a string or a file. But I have it coming in as an http POST and none of them work. Its coming in as a straight file and not as a variable = value pairing like a form does.

What is the best way to do this in PHP

Thanks for any help






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to