title: opendir php error with variables
body: <p>Can someone tell me what is wrong with this code?</p>
  
  <pre><code>&lt;?php
      $user = $fgmembersite-&gt;UserFullName();
      $handle = opendir('/users/$user/');
  ?&gt;
  </code></pre>
  
  <p>This is the error message:</p>
  
  <pre><code>opendir(/app/$user/) [function.opendir]: failed to open dir: No such file or directory in
  </code></pre>