Jump to content

Secured socket in PHP


priyank9

Recommended Posts

Hi, I have some question about SSL and socket functions in PHP. I am new in web development and SSL networking. Actually I was trying to make a PHP MSN client. I am trying to connect with hotmail server to get ticket to login into MSN using socket.
I use function like [code]$msnSock = fsockopen("ssl://loginnet.passport.com",443);[/code]. But this function gives me error “no SSL support in this build” even when I am trying to use CURL it gives me error at “Call to undefined function: curl_init()”. What I feel is may be because I don’t have SSL certificate for my server. But I am not sure. Do I need to get SSL certificate? Can I get some help to solve this problem?
Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/26074-secured-socket-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.