title: PHP display current server path
body: <p>I need to setup a path in my php but I currently don't know the path.</p>
  <p>I need to configure the paths to the uploads directory</p>
  <p>Should look like this below:</p>
  <pre><code>/srv/www/uploads/
  </code></pre>
  <p>My uploads.php file is in the root...so</p>
  <pre><code>www/uploads/ ???
  </code></pre>
  <p>Is there anyway that I could get php to tell me my current path?</p>