easy one... PHP image upload.... Can't remember syntax for getting a file into a specific folder
<p>I have a cms I made for school a while ago that I am finally uploading live. While I had it on my local machine, I simply had the path to my image folder hardcoded as </p>

<pre><code>$path = C:\path\to\my\uploads
</code></pre>

<p>Of course now that it is on a server, this will no longer work. I can't for the life of me remember the syntax of how to get it INTO the upload folder.</p>

<p>My images are simply landing with all of my other html and php files on the server instead of in my uploads folder. Then my image gallery is broken, because it looks for my thumbnails in my uploads folder.</p>

<p>I tried </p>

<pre><code>$path = ..//uploads
</code></pre>

<p>and</p>

<pre><code>$path = uploads
</code></pre>

<p>and</p>

<pre><code>$path = //uploads
</code></pre>

<p>and none work.</p>

<p>I am feeling really stupid now. </p>

<p>Please help!</p>
