faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 37 people (16%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

I am trying to use the UPS online tools. How do I post them some XML and get an XML response back?

Mar 15th, 2008 18:13
ha mo, Vijaya Kumar Mallepeddi, Charles Sullivan, www.ybrant.com (vijaym)


we can submit it in a PHP program like the following code. and we can 
process the responce.
$file=fopen('http://testing.shippingapis.com/ShippingAPITest.dll?
API=Verify&XML=<AddressValidateRequest%20USERID=........%
20PASSWORD=......><Address ID="0"><Address1></Address1><Address2>6406 
Ivy Lane</Address2><City>Greenbelt</City>
<State>MD</State><Zip5></Zip5><Zip4></Zip4></Address></AddressValidateRe
quest>', "r");
But still i got some problems. I have to work on those things.
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com