http://sourceforge.net/projects/snoopy/

-----Original Message-----
From: Devin Atencio [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 1:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Emulating POST ?



I need to somehow write a PHP Script that will POST
XML type stuff to UPS like this:

<?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
   <AccessLicenseNumber>TEST262223144CAT</AccessLicenseNumber>
   <UserId>testUser</UserId>
   <Password>testPW</Password>
</AccessRequest>
 

<?xml version="1.0"?>
 <TrackRequest xml:lang="en-US">
  <Request>
   <TransactionReference>
    <CustomerContext>Example 1</CustomerContext>
    <XpciVersion>1.0001</XpciVersion>
   </TransactionReference>
   <RequestAction>Track</RequestAction>
   <RequestOption>activity</RequestOption>
  </Request>
  <TrackingNumber>1Z12345E1512345676</TrackingNumber>
 </TrackRequest>

How could I do this? Any help would be greatly appreciated?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to