Page 1 of 1

transfer data over SSL we must use the CURL libraries?

Posted: Sat Aug 11, 2007 2:56 pm
by montyauto
If we want to transfer data over SSL we must use the CURL libraries??

Posted: Sat Aug 11, 2007 7:40 pm
by s.dot
No, I don't think so. But you do have to have an SSL certificate, and apache configured with the ssl module.

Then again, I've never used SSL before.

Posted: Sat Aug 11, 2007 8:20 pm
by Chris Corbyn
You can use SSL with the FTP functions I think, and you can also open sockets with SSL or TLS encryption enabled:

Code: Select all

$sock = fsockopen("ssl://servername", $port, $errno, $errstr);

Posted: Sat Aug 11, 2007 11:21 pm
by timvw
I would probably use the ssh extension and use the ssh2_recv and ssh2_send methods.. (

As you'll see in the documentation, it's quite a powerful extension and you might choose a different option (eg: ssh2_sftp))