php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11753 Need way to load sent XML
Submitted: 2001-06-27 14:08 UTC Modified: 2002-06-24 10:42 UTC
From: chriso at 4-ucomputing dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.5 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chriso at 4-ucomputing dot com
New email:
PHP Version: OS:

 

 [2001-06-27 14:08 UTC] chriso at 4-ucomputing dot com
There appears to be no way to load an XML string that was sent to a PHP page with a content-type: text/xml. What I think could be appropriate is a function xml_load_from_request(). Then, a client could post a request without having to go through the trouble of form-encoding it.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 10:42 UTC] jtate@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

Already there.  POST the XML as type text/xml, then use $HTTP_RAW_POST_DATA to get the XML.  Then send that string through your favorite XML extension.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 15:01:31 2024 UTC