title: Send data from server (php) to client (terminal)
body: <p>I am trying to make a server which will send a string to the client. Now the client is using a terminal. </p>
  
  <p>I am sending this script to the server user's name.</p>
  
  <pre><code>curl --data "name=$name_user" http://dns1.example.com
  </code></pre>
  
  <p>1) How can I send back the user a string "Hey your name is "  </p>
  
  <p>2) How can I receive that string back in the user's terminal and store it in a file ?</p>