Re: UPS cross reference
| From: | Daniel Convissor | Date: | Wed, 29 Nov 2000 04:34:14 +0000 |
| Subject: | Re: UPS cross reference | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27771@lists.php.net to get a copy of this message | ||
Hi Pat:
Pat Hanna wrote:
>
> I need to open a file connection to the UPS site to get a quote on shipping. I can open the
> connection with fopen("http://www.ups....","r")
> and send the required information in the url. I don't know if that will work though. I also
> need the get the returned price quote on it. Is there a way to do this?
Sure. But before you "go there," consider doing something better. There are
tools on UPS's web site written in Perl and other languages. You can port
them over to PHP. Or, go to http://px.sklar.com/ and find Jason
Costomiris'
scrpits that do exactly what you want.
Oh, by the way, turn line wrapping on for outgoing email messages so they'll
quote properly when people reply.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409