i know there is a way, just not coming to mind.
what I want to be able to do is specify the root level of an application
w/o having to set a request variable.
such as:
request.images = images/
or if i am one folder down:
request.images = ../images/
isn't there a way to specify something like:
isn't there a way to specify something like:
img src="">
Yes this does pull from the root of your url:
ex: http://www.site.com/images/image.gif
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
is would find the image - and
it would continue to find it even if you move the application to another
folder.
I could send you the CFC if you'd like.
Jim Davis
From: CF Developer [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 10:40 AM
To: CF-Talk
Subject: webroot level?
i kn
will that work for cfincludes?
such as:cfinclude template=/includes/thisfile.cfm
since this is a shared hosting, i do not have access to
establish cf mappings
- Original Message -
From: Jason L. West, Sr. [EMAIL PROTECTED]
Date: Thu, 22 Jul 2004 11:11:16 -0400
Subject: Re: webroot level
No, cfinclude uses CF mappings.If it's shared, I'm sure the hosting
company can set up mappings for you.
John
-Original Message-
From: CF Developer [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 11:54 AM
To: CF-Talk
Subject: Re: webroot level?
will that work for cfincludes
not have access to
establish cf mappings
- Original Message -
From: Jason L. West, Sr. [EMAIL PROTECTED]
Date: Thu, 22 Jul 2004 11:11:16 -0400
Subject: Re: webroot level?
To: CF-Talk [EMAIL PROTECTED]
isn't there a way to specify something like:
img src="">
://#cgi.SERVER_NAME#/#listincommon(cgi.PATH_INFO,me.file_root,/,\,
/)#/;
Marlon
-Original Message-
From: Mark Drew [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 11:05 AM
To: CF-Talk
Subject: Re: webroot level?
I have been thinking about this problem as well. Iwant to set in tha
cfset request.fileroot = h:\hosting\myusername\wwwroot\myapp
/cfif
_
From: Mark Drew [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 12:05 PM
To: CF-Talk
Subject: Re: webroot level?
I have been thinking about this problem as well. Iwant to set in tha
Application.cfm to say I
://staging/myapp http://staging/myapp
cfset request.fileroot = h:\hosting\myusername\wwwroot\myapp
/cfif
_
From: Mark Drew [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 12:05 PM
To: CF-Talk
Subject: Re: webroot level?
I have been thinking about this problem as well. Iwant to set
Have a look at this free tag CF_getNames here :
http://www.contentbox.com/claude/customtags/tagstore.cfm
It looks like it will give you what you need.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send
On Thu, 22 Jul 2004 18:46:16 +0200, in cf-talk you wrote:
What I wanted it todo was not toneed to do the flip trick of choosing
servers, but for it to know this automatically... there MUST be a way
as all I am asking is WHERE is Application.cfm residing, from there I
can work out all the other
11 matches
Mail list logo