文件名称:php-push:PHP推送通知类
文件大小:3KB
文件格式:ZIP
更新时间:2024-06-14 02:56:22
PHP
PHP的推 PHP推送通知类 有关完整的使用信息,请参见下面的参考 使用情况(iOS) require_once ( "push.php" ); $ push = new pushNotification( "ios" , "/path/to/pem/cert" ); $ payload = array ( "aps" => array ( "badge" => "auto" , "alert" => "Hello!" , "sound" => "beep.caf" ), "extra_data" => "goes_here" , "id" => time () ); $ push -> sendMessage ( $ REGID , $ payload ); 用法(Android) require_once ( "push.ph
【文件预览】:
php-push-master
----README.md(4KB)
----push.php(3KB)