Monthly Archive: February 2017

Push notification Android Php 0

Push notification Android Php

Hey, Today we learn how to send push notification for android in php. First create a class with following code   <?php class Pusher{ const GOOGLE_GCM_URL = ‘https://android.googleapis.com/gcm/send’; private $apiKey; private $proxy; private $output;...

Push notification IOS 0

Push notification IOS

Push notification IOS   <?php // authentication $host = “localhost”; $user = “user”; $pass = “pass”; $dbname = “DB”; // create connection with database $con = mysql_connect($host, $user, $pass); // check whether database connection...