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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 14:01:30 2025 UTC