What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: ups quickcost [repost]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25086
interpreted = N
texte = Nicolas:in your example, where are you getting [UPSprod] from?That's my problem, I can't find the data for anything but ground. The package from PCS says to refer to documentation from UPS which I can't seem to find.since ground is: 13_product=GNDCOMI tried REDCOM and 2DACOM as guesses but those didn't work...--- Nicolas Verhaeghe wrote: > > Where? Are you talking about > > http://www.ups.com/using/services/rave/rate.html ? > > There is a version of this script that gives you the > result in text format, > delimited by % characters. > > www.ups.com/using/services/rave/qcostcgi.cgi > > This is what I personallky do to retrieve my UPS > costs: > > [text show=f]DepCountry=US[/text] > [text show=f]DepZip=85260[/text] > > [math show=f]Weight=ceil([totalweight])[/math] > > [TCPConnect host=www.ups.com&port=80] > [text show=f]s1=[middle > startafter=[url][UPSprod]%[DepZip]%[DepCountry]%[DestZip]%[DestCountry]%[/ur > l]][TCPSend]GET > /using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action > =3&13_product=[UPSprod]&15_origPostal=[DepZip]&19_destPostal=[DestZip]&22_de > stCountry=[DestCountry]&23_weight=[weight] > HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/middle] > [/text] > [/TCPConnect] > > [text show=f]s2=[middle > startafter=[Url]%[/Url]&endbefore=[Url]%[/Url]][s1][/middle][/text] > [text show=f]s3=[middle > startafter=[Url][/Url]&endbefore=[Url][s2][/Url]][s1][/middle][/text] > > [text show=f]s4=[middle > startafter=[Url][s3][/Url]&endbefore=[Url]%[/Url]][s1][/middle][/text] > [text show=f]s5=[middle > startafter=[Url][s3][/Url]&endbefore=[Url]%[/Url]][s4][/middle][/text] > [text show=f]s6=[middle > startafter=[Url][s3][/Url]&endbefore=[Url]%[/Url]][s5][/middle][/text] > > [text show=f]UPS=[middle > startafter=[Url][s6]%[/Url]][s5][/middle][/text] > > > Explanation: > We ship from Scottsdale, Arizona (zip code 85260). > I round up the weight to the upper pound. > Then I contact UPS via HTTP using the so neat > [TCPConnect] context, give the > weight, the zip codes and country codes and it > usually works fine. > > Note: make sure your code is webcatalog compliant > when you copy this. > Also retrieve the UPS Product codes, and country > codes as well, from UPS. > I bet the UPS Package from PCS has them. > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word > Compliant Messaging Server. > To end your Mail problems go to > . > > This message is sent to you because you are > subscribed to > the mailing list > . > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > ===== -Aaron__________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: ups quickcost [repost] (John Hill 1999)
  2. Re: ups quickcost [repost] (Aaron Lynch 1999)
  3. Re: ups quickcost [repost] (Aaron Lynch 1999)
  4. Re: ups quickcost [repost] (Aaron Lynch 1999)
  5. Re: ups quickcost [repost] (Nicolas Verhaeghe 1999)
  6. Re: ups quickcost [repost] (Josh Tiger 1999)
  7. Re: ups quickcost [repost] (Aaron Lynch 1999)
  8. Re: ups quickcost [repost] (Nicolas Verhaeghe 1999)
  9. Re: ups quickcost [repost] (Aaron Lynch 1999)
  10. Re: ups quickcost [repost] (Nicolas Verhaeghe 1999)
  11. ups quickcost [repost] (Aaron Lynch 1999)
Nicolas:in your example, where are you getting [UPSprod] from?That's my problem, I can't find the data for anything but ground. The package from PCS says to refer to documentation from UPS which I can't seem to find.since ground is: 13_product=GNDCOMI tried REDCOM and 2DACOM as guesses but those didn't work...--- Nicolas Verhaeghe wrote: > > Where? Are you talking about > > http://www.ups.com/using/services/rave/rate.html ? > > There is a version of this script that gives you the > result in text format, > delimited by % characters. > > www.ups.com/using/services/rave/qcostcgi.cgi > > This is what I personallky do to retrieve my UPS > costs: > > [text show=f]DepCountry=US[/text] > [text show=f]DepZip=85260[/text] > > [math show=f]Weight=ceil([totalweight])[/math] > > [TCPConnect host=www.ups.com&port=80] > [text show=f]s1=[middle > startafter=[url][UPSprod]%[DepZip]%[DepCountry]%[DestZip]%[DestCountry]%[/ur > l]][tcpsend]GET > /using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action > =3&13_product=[UPSprod]&15_origPostal=[DepZip]&19_destPostal=[DestZip]&22_de > stCountry=[DestCountry]&23_weight=[weight] > HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/middle] > [/text] > [/TCPConnect] > > [text show=f]s2=[middle > startafter=[url]%[/Url]&endbefore=[url]%[/Url]][s1][/middle][/text] > [text show=f]s3=[middle > startafter=[url][/Url]&endbefore=[url][s2][/Url]][s1][/middle][/text] > > [text show=f]s4=[middle > startafter=[url][s3][/Url]&endbefore=[url]%[/Url]][s1][/middle][/text] > [text show=f]s5=[middle > startafter=[url][s3][/Url]&endbefore=[url]%[/Url]][s4][/middle][/text] > [text show=f]s6=[middle > startafter=[url][s3][/Url]&endbefore=[url]%[/Url]][s5][/middle][/text] > > [text show=f]UPS=[middle > startafter=[url][s6]%[/Url]][s5][/middle][/text] > > > Explanation: > We ship from Scottsdale, Arizona (zip code 85260). > I round up the weight to the upper pound. > Then I contact UPS via HTTP using the so neat > [tcpconnect] context, give the > weight, the zip codes and country codes and it > usually works fine. > > Note: make sure your code is webcatalog compliant > when you copy this. > Also retrieve the UPS Product codes, and country > codes as well, from UPS. > I bet the UPS Package from PCS has them. > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word > Compliant Messaging Server. > To end your Mail problems go to > . > > This message is sent to you because you are > subscribed to > the mailing list > . > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > ===== -Aaron__________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Aaron Lynch

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

pop up menu's (1998) [WebDNA] =?ISO-8859-1?Q?R=E9p_=3A_=5BWebDNA=5D_=5Bshowif=5D_probl?= (2009) Tab Charactor (1997) WCS Newbie question (1997) Cart Number sequence (1997) POST Datamissing? (1998) Limiting user access to .tmpl files (1997) Two stores, one server (1998) Ready,Set; Print! (1999) SiteGuard Use Question (1997) RED QUESTION MARKS AGAIN (1999) Date or time comparisons have bugs ... (1998) WebCat editing, SiteGuard & SiteEdit (1997) SetLineItem (1997) template includes encrypted template (1999) Too Much Rootbeer Free Offer (1997) Searching for all records (1998) Help! WebCat2 bug (1997) Country & Ship-to address & other fields ? (1997) Interfacing WebMerchant to www.fedex.com (1997)