Jump to content

WebViewer and PHP to get shipping quote from CanadaPost server


cincin

This topic is 5227 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,

I'm trying to setup a WebViewer that would get a shipping quote from the CanadaPost server. It seems it should be fairly simple.

In the attached HTML file the entire xml is taken from a field of the form. I want to turn it into a PHP file that takes the various pieces of data (not the whole XML) from the URL so I can have a WebViewer that's set to refresh

http://www.myserver.com/getcpquote.php?CPCID=CPC_DEMO_XML&FZIP=mip1c0&TAT=24&......

And give me the text string of the server reply in a variable or field so I can parse it a present it to the user.

How ?

Thank you :

Link to comment
Share on other sites

This topic is 5227 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.