title: Get own space on server with PHP
body: <p>I have own space on private serwer FTP.</p>
  
  <p>This is:</p>
  
  <p><strong>/home/poker/my_space</strong></p>
  
  <p>and i have there my site:</p>
  
  <p><strong>/home/poker/my_space/my_site</strong></p>
  
  <p>i have also folder images:</p>
  
  <p><strong>/home/poker/my_space/images</strong></p>
  
  <p>If i login then i am on server in space:</p>
  
  <p><strong>/home/poker/</strong></p>
  
  <p>here i have two catalogs: my_space and images</p>
  
  <p>so how can i get this place with PHP functions?</p>
  
  <pre><code>$my_place = ??? dir? $_SERVER ?? __FILE__ ??
  
  echo $my_place;
  </code></pre>
  
  <p>$my_place should return <strong>/home/poker/</strong></p>