title: PHP : Best way to push data from server to clients.....?
body: <p>In my project <code>I need to push some data from server to the client</code> like <code>facebook</code> does, when <code>some updates are performed in the clients profile</code> like somebody writes something in the wall of the client, Facebook automatically push it to the client side.</p>
  
  <p>Currently <code>I am using AJAX</code> to continuously <code>check the DB for the updates</code>. That is <code>not a good practice</code>. </p>
  
  <p>I don't want to depended on the client side for the updates. I want that the <code>server should automatically push the data to the client side</code> when some updates are performed related to the client.</p>
  
  <p>Please suggest some url or sample code to do so......</p>
  
  <p>Thanks in advance..... </p>