I heve to get an entire path of an image by clicking a button
<p>I want the entire image path when I click the image</p>

<p>I tried </p>

<pre><code>$_SERVER['HTTP_HOST'];
$_SERVER['PHP_SELF'];
$_server['PHP_PATH]; 
</code></pre>

<p>etc</p>

<p>I am getting the page path only, not the image path</p>
