Re: Newbie Question - Parse XML with PHP...
| From: | shiplu | Date: | Mon, 22 Apr 2013 04:22:07 +0000 |
| Subject: | Re: Newbie Question - Parse XML with PHP... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320957@lists.php.net to get a copy of this message | ||
On Apr 22, 2013 7:00 AM, "Bastien Koert" <phpster@gmail.com> wrote:
>
> I have an app that gets passed in xml and use this code to read that data
in
>
> // We use php://input to get the raw $_POST results.
> $xml_post = file_get_contents('php://input');
$xml_post is string. I think now you know what to do.