Geting UPS Shipping Rate By PHP

<!– Create Function –> <?php function ups($dest_zip,$service,$weight,$length,$width,$height) { // ========== UPDATE FOLLWINGS WITH YOUR CREDENTIALS =========== $AccessLicenseNumber = ‘###########’; // License number $UserId = ‘########’; // Username $Password = ‘########’; // Password $PostalCode = ‘######’; // Zipcode you are shipping FROM $ShipperNumber = ‘#####’; // UPS shipper number $data =”<?xml version=\”1.0\”?> <AccessRequest xml:lang=\”en-US\”> <AccessLicenseNumber>$AccessLicenseNumber</AccessLicenseNumber> <UserId>$UserId</UserId> …