Re: secure sockets

From: Date: Wed, 24 Jul 2002 03:54:29 +0000
Subject: Re: secure sockets
Groups: php.general 
Request: Send a blank email to php-general+get-109237@lists.php.net to get a copy of this message
>I'm trying to connect to a Java application that's listening on a socket >using SSL. I am trying to use fsockopen with the address beginning with >ssl://, but it doesn't work. There's no error message that I can find, >it just doesn't create the file-handler. > >Here's some sample code: > ><? > $hostname = 'ssl://155.246.211.23'; You have to be running PHP 4.3.0 (IE, CVS or snapshot) to use 'ssl://' with fsockopen, according to the manual. You may have to use cURL for now, or develop in 4.3.0 and deploy when it's ready, or... It will be pretty cool when the SSL stuff can be done as transparently as http:// can right now! -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#109237) next »