Open GoogleCodeExporter opened 8 years ago
Instead I get PHP notice error : Notice: Undefined index: HTTPS in
C:\wamp\www\index.php on line 34
This is due to inexistence of once choise over two.
Script is asking both for http and https, but only one will return true, the
other false. Undefined index means "i don't found that value" because IS NOT
SET.
Replace:
if($_SERVER['HTTPS'] == 'on'){
With:
if(@$_SERVER['HTTPS'] == 'on'){ // added @ for error supression
With curl_setopt($curlSession, CURLOPT_SSL_VERIFYHOST, 2); you will get error
if a cert is due date, or domain name mismatch. Set to 0 to no check SSL.
About failure on the mns https site i can't do nothing if i can't test.
Id try with some domains, some good https and some bad signed https (with more
settings) and worked.
Original comment by ErM3...@gmail.com
on 4 Mar 2015 at 7:53
Original issue reported on code.google.com by
sagnik.pal
on 20 Jun 2014 at 10:11Attachments: