May be a stupid question but can I link to images with doscument root

$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';

echo "<img src=\"$img_url\" width=\"250\" height=\"163\"/>";

I am certain the path is correct,

If not what are my alternatives?


R. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to