Connecting Tech Pros Worldwide Forums | Help | Site Map

Need sample code for unpack XML response

Riyadh Hossain
Guest
 
Posts: n/a
#1: Jun 28 '06
I am developing USPS shipping API for my site. All the work is going on
testing phase. My site uses PHP/MySQL. Now I am working on USPS
tracking/confirm. I can send request and get responses from USPS. I
need sample code for unpack XML response for USPS tracking. Sample
code should be in PHP language. If it is not available in PHP, other
language like PERL, JAVA etc is acceptable.

Thanks and regards

Riyadh Hossain


Andy Hassall
Guest
 
Posts: n/a
#2: Jun 29 '06

re: Need sample code for unpack XML response


On 28 Jun 2006 05:36:30 -0700, "Riyadh Hossain" <mail2riyadh@gmail.com> wrote:
[color=blue]
>I am developing USPS shipping API for my site. All the work is going on
>testing phase. My site uses PHP/MySQL. Now I am working on USPS
>tracking/confirm. I can send request and get responses from USPS. I
>need sample code for unpack XML response for USPS tracking. Sample
>code should be in PHP language. If it is not available in PHP, other
>language like PERL, JAVA etc is acceptable.[/color]

There's http://uk.php.net/xml , unless you wanted something more specific to
the format you mentioned.

For Perl, putting USPS in search.cpan.org gives
http://search.cpan.org/~dbrowning/Bu...ss/Shipping.pm.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Closed Thread


Similar PHP bytes