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:
- ColdFusion Server Settings box is blank
- Flex Builder 3 and Root Folder
- 404 file not found
- Checking Installation was OK
- How to setup Coda site to use my standalone coldfusion 9
Related posts brought to you by Yet Another Related Posts Plugin.