linking to an image with document_root

From: Date: Fri, 01 Jun 2007 08:16:34 +0000
Subject: linking to an image with document_root
Groups: php.general 
Request: Send a blank email to php-general+get-255960@lists.php.net to get a copy of this message
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.

« previous php.general (#255960) next »