Eric,
 
I purchased the two PHP Architect editions you mentioned and was able to
use the code for my purposes. The code produces the correct result (the
rate price) however the shipping class throws a warning as follows:
 

Warning: fgets() [function.fgets
<http://10.100.54.10/bitweaver/themes/styles/supercoups/function.fgets>
]: SSL: fatal protocol error in
C:\Inetpub\wwwroot\bitweaver\themes\styles\supercoups\ups_shipping.class
.php on line 64
 
Line 64 reads as follows:
 
while(!feof($fp)) $upsresponse[]=fgets($fp, 4096);
 
Any idea why this happens or should I just ignore the warning? I have
display_errors turned on temporarily for debugging purposes otherwise
this wouldn't show up.
 
Thanks,
 
Tim Boyden
 
---------------------------


Timothy Boyden


Network Administrator

[EMAIL PROTECTED]

SuperCoups(r)

 

350 Revolutionary Drive | E. Taunton, MA 02718

508-977-2034  | www.supercoups.com <http://www.supercoups.com/>  

 

We Support Alex's Lemonade Stand Foundation, 

"Fighting Childhood Cancer One Cup At A Time"

Donations Accepted at: www.firstgiving.com/SuperCoups

---------------------------

Local Coupons. Super Savings.(r)


________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Dynamic Ink
Sent: Thursday, April 19, 2007 10:35 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] UPS XML Shipping Rates Calculator?


There is a detailed example along with a full explanation in an article
that I wrote for PHP Architect:
 
The Ultimate PHP 5 Shopping Cart, spanning Aug. and Sept. 2004
 

        ----- Original Message ----- 
        From: Timothy Boyden <mailto:[EMAIL PROTECTED]>  
        To: [email protected] 
        Sent: Thursday, April 19, 2007 11:04 AM
        Subject: [nyphp-talk] UPS XML Shipping Rates Calculator?

        Hi All,
         
        Anyone have a code sample or link to an example for getting UPS
shipping rates via UPS's XML Online Tools?
         
        I downloaded their documentation but the only examples they
provide are in ASP or Java.
         
        Thanks for any help you can provide.
         
        -Tim
        ---------------------------

        Timothy Boyden


        Network Administrator

        [EMAIL PROTECTED]

        

        SuperCoups(r)

         

        350 Revolutionary Drive | E. Taunton, MA 02718

        508-977-2034  | www.supercoups.com <http://www.supercoups.com/>


         

        We Support Alex's Lemonade Stand Foundation, 

        "Fighting Childhood Cancer One Cup At A Time"

        Donations Accepted at: www.firstgiving.com/SuperCoups

        ---------------------------

        Local Coupons. Super Savings.(r)

         

        
________________________________


        

        _______________________________________________
        New York PHP Community Talk Mailing List
        http://lists.nyphp.org/mailman/listinfo/talk
        
        NYPHPCon 2006 Presentations Online
        http://www.nyphpcon.com
        
        Show Your Participation in New York PHP
        http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to