You are here: Posting Raw XML to PHP? « PHP Programming Language « IT news, forums, messages
Posting Raw XML to PHP?

Posted by David on 11/13/06 22:37

I want to post a XML file to a PHP program. I have seen programs using
the following curl format to send the XML:


curl =H"POST / HTTP/1.0 Content-Type:
application/x-www-form-urlencoded Content-Length: 12 " -d"<top></top>"


However, I am not sure what to code on the PHP end to accept the XML.
I checked $_POST and it is empty. I know you can send the data by
posting to a var, like ( -d"xml=\"<top></top>\"").

Thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация