Using php how to send push notification such as an alert to an ios device
<p>I have an app which is capable of chatting and sending friend requests.
I want to send an alert or push  message to the device registered in my user table,
when ever a new message is sent to friend a push must be sent to the user...same way if a friend request is sent a push alert must be sent.
I am storing the device token in my users table for every user..
--apns-push.pem file is ready
actually i would like to give a json web service
Please help,
Thanks in advance.... </p>
