jpush/jpush-api-php-client

php5.3.20, 报错了。

Closed this issue · 3 comments

A PHP Error was encountered

Severity: Notice

Message: file_get_contents() [function.file-get-contents]: Content-type not specified assuming application/x-www-form-urlencoded

Filename: JpushClient/HttpPostClient.php

Line Number: 15

config php.ini open ssl. The request is https.

我在baseClient.php中修改private $SEND_API_URL = "http://api.jpush.cn:8800/v2/push";private $SEND_API_URL = "https://api.jpush.cn:443/v2/push";,并且在php.ini中启用了ssl,通过https://xxx.com访问我的网站,执行push之后错误依旧。

已添加配置文件样例