posting XML with PHP

a more technical entry.</p>

for a pilot project involving php web services, I had the task of making an HTTPS post to the UPS Rate Service Selection online tool. their online tool requires that you post to them 2 XML documents in the payload of your HTTPS post. I had some problems doing this, but did resolve them...

first, I had a problem using fsockopen function in PHP because, alas, I am developing on a Windows machine now, and didn't want to set up another Linux server just for this...so, I decided to use cURL extension for PHP instead of fsockopen. but again, cURL is a little tricky to get working on Windows, but it did what I needed.

the resulting code will probably be up at the lamp5 website in a tutorial sometime soon. and the full pilot project will be posted sometime in December.
</div>

Question or comment about this post? Tell me on GitHub.

posting XML with PHP / groovecoder by groovecoder is licensed under a Creative Commons Attribution-ShareAlike CC BY-SA
posting XML with PHP / groovecoder by groovecoder is licensed under a Creative Commons Attribution-ShareAlike CC BY-SA