I’m using <img src=”
http://#CGI.Server_Name#//NewSite/Images/logo.gif”>
in order to create an absolute path to an image. It doesn’t seem to
work. But when I replace “#CGI.Server_Name# ” with “localhost:8500″
it seems to work. Does anyone know why “#CGI.Server_Name# doesn’t
seem to work? Is this a deprecated command? Thanks much~|||
> when I replace “#CGI.Server_Name# ” with
“localhost:8500″ it seems to

I think if you have a look @ the value of CGI.server_name,
and compare it

to “localhost:8500″, you might answer your own question.



Adam

|||
If you will output the #CGI.SERVER_NAME# it will give you
“localhost”.

Sankalan

(www.mindfiresolutions.com)|||
Sounds like you need to use this:

<img src=”
http://#CGI.Server_Name#:8500/NewSite/Images/logo.gif”>

Related posts:

  1. ColdFusion Server Settings box is blank
  2. Flex Builder 3 and Root Folder
  3. 404 file not found
  4. Checking Installation was OK
  5. How to setup Coda site to use my standalone coldfusion 9

Related posts brought to you by Yet Another Related Posts Plugin.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 free icons download Suffusion theme by Sayontan Sinha

Featuring Recent Posts WordPress Widget development by YD