title: append text to file using shell from php
body: <p>I trying to append passed text as parameter to file using shell script
  this is the code of shell </p>
  
  <pre><code> echo $1&gt;&gt;/etc/freeradius/mods-enabled/ldap
  </code></pre>
  
  <p>this shell will get the text to add it to  the file ldap in /etc/freeradius/mods-enabled  path , I call this shell in this format </p>
  
  <pre><code># sh /etc/append.sh hello how are you man 
  </code></pre>
  
  <p>but in this example the shell only get first word 'hello' and append it to file .how can I tell shell that all words are same variable and should insert to file</p>