Perhaps you’d like to just sent XML over post, and not have xml=your_nodes_and_stuff_here. No sweat.

$xml = urldecode(file_get_contents('php://input'));

Enjoy.

This can now be called with:

curl -d "some_xml_here" http://yoursite.com/pagename

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>