Re: HowTo Send HTTP POST from Within Scrip
| From: | Julio Nobrega Trabalhando | Date: | Tue, 05 Feb 2002 20:16:01 +0000 |
| Subject: | Re: HowTo Send HTTP POST from Within Scrip | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83630@lists.php.net to get a copy of this message | ||
It's usually done with fsockopen();, and curl module functions for SSL
servers. There are a few classes for each method, on the most tradicional
snippets and clasess websites.
I enjoyed using one called Snoopy. Also the manual pages comments are very
helpful (both on fsockopen(); related functions and curl module ones).
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
"Gabriel Richards" <lists@endertechnology.com> wrote in message
news:NFBBIDBPKLLPOJJLBCANIEOICDAA.lists@endertechnology.com...
> Hi eveyone.
>
> I'm trying to build an application to interface with UPS Online Tools
> server. I have to send it an XML formatted request via HTTP POST, and I'm
> not sure how.
>
> Normally, PHP receives such requests when a user clicks a button on a form
I
> created, but how do I initiate a POST from with a script? Better yet, how
do
> I get the response?
>
> Thanks for help!
> Gabe
>
> -----
> Ender Technology Corp.
> Websites, Database Applications, Hosting
> (310) 516-7411
> grichards@endertechnology.com
> http://www.endertechnology.com/
>
> -----
> Ender Technology Corp.
> Websites, Database Applications, Hosting
> (310) 516-7411
> grichards@endertechnology.com
> http://www.endertechnology.com/
>
>