morpheuz Posted June 2, 2006 Share Posted June 2, 2006 ...can I login to my hosted space and post to another area? Anyone familiar with this? Link to comment https://forums.phpfreaks.com/topic/10998-curl-and-https/ Share on other sites More sharing options...
morpheuz Posted June 2, 2006 Author Share Posted June 2, 2006 Ok, I've gotten a little progress....it's an error, but at least it's feedback. :)Error #35(SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol)I have a basic session setup here.[code]$ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, "https://loginareablahblah");curl_setopt ($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt ($ch, CURLOPT_POST, 1);curl_setopt ($ch, CURLOPT_POSTFIELDS, "user=john&pass=doe");curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $res = curl_exec ($ch);curl_close($ch);[/code]Can anyone help? Link to comment https://forums.phpfreaks.com/topic/10998-curl-and-https/#findComment-41257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.