Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    QuickCost 1.1

    Download button

    No screenshots available
    Downloads: 414  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.7/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Darrell Brogdon | More programs
    BSD License / FREE
    March 10th, 2008, 11:13 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    QuickCost description

    QuickCost is a PHP class that allows a programmer to quickly determine the shipping costs of a package.

    QuickCost is a PHP class that allows a programmer to quickly determine the shipping costs of a package.

    All you have to do to use this library is include it as part of another PHP
    script using either the include() or require() functions.

    Having done that you then have to create an object of the ups_quic_cost class.

    Next you must call setShipInfo() with the following parameters:

    - Originating country (see: getCountryCode() and getCountryName())
    - Originating postal code (ZIP Code)
    - Destination country
    - Destination city
    - Destination postal
    - Whether or not the destination address is residential (YES) or commercial (NO)
    - The raw URL encoded rate chart. (see: getRateChart())
    - The package container (see: getContainers())
    - The weight of the package
    - The weight standard that applies to weigth (lbs.|kgs)
    - The length of the package. Only necessary if the shipper is using non-UPS packaging.
    - The width of the package. Only necessary if the shipper is using non-UPS packaging.
    - The height of the package. Only necessary if the shipper is using non-UPS packaging.
    - The size standard that applies to length, width, and height (in.|cm.)

    Finally you call getData() which does the work of going out to UPS's web site and retrieving the information.

    What's New in This Release:

    · Updated code documentation to support PHPDoc format.



    Product's homepage

      


    TAGS:

    php library | php class | costs calculator | web | development | php

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM