0

in regular php script function the user sends data and the php have a method which give the user output.
is there a way to write a php script that holds the details for communicate with the user, and to send him data later ?
kind of notafication service ?

i need it for a server script which should be used by an android application.

i want my user to send data to the php server (hopefully throw http request) and i want to server - if needed - will send the user data when needed...

Asaf Nevo
  • 11,338
  • 23
  • 79
  • 154
  • You may need to implement Push Notifications. See http://stackoverflow.com/questions/1378671/push-notifications-in-android-platform – Muhammad Hasan Khan Mar 19 '12 at 16:21
  • there is no way to do it by myself ? maybe with socket connections somehow ? – Asaf Nevo Mar 19 '12 at 16:40
  • This answer from Stackoverflow will help you - [http://stackoverflow.com/questions/8629083/automatic-notification-in-database-change-similar-with-facebook-friend-request/8647329#8647329][1] [1]: http://stackoverflow.com/questions/8629083/automatic-notification-in-database-change-similar-with-facebook-friend-request/8647329#8647329 – Vishnu Haridas Mar 19 '12 at 17:47

0 Answers0