PHP realpath function question
<p>I cant seem to get the realpath function to work with variables is there a way I can fix this? When I use variables in the function it returns nothing I know the pathname works without the realpath function but I want to use the realpath function with my pathname.</p>

<pre><code>realpath('./members/' . $userId . '/images/thumbs/' . $image);
</code></pre>

<p>Edit real route.</p>

<pre><code>http://localhost/Project/members/24/images/thumbs/avatar.png
</code></pre>
