Re: Using post method thru php-script
| From: | Richard Lynch | Date: | Mon, 25 Jun 2001 06:01:26 +0000 |
| Subject: | Re: Using post method thru php-script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55096@lists.php.net to get a copy of this message | ||
> $fp = fsockopen('secure.aaa.com',443,&$err_num,&$err_msg);
Talking to an SSL server on port 443 is a bit more complicated than chatting
up an HTTP server on port 80.
You have to pre-negotiate your encryption algorithms and send some public
keys back and forth to generate some more public/private key-pairs and...
While DIY is tons of fun, with a deadline of the 27th looming, I'd look into
using "cURL".
Search the archives for URLs and further info on cURL. Last I heard,
somebody was gonna integrate cURL direct into PHP, but I've been out of it
for awhile.
Oh yeah: I'm baaaaaaaaaaaaaaaaack! :-)
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm