Bryan Stevenson wrote:
>>I already have a variable storing the document root.  But you can't use
>>CFINCLUDE with anything other than a logical path.  CFINCLUDE only looks
>>in the "current" directory or a specified mapped directory.
>>
>> - Rick
> 
> 
> Ahhh...but Rick...with the site root path and the current file's path 
> (cgi.cf_template_path) you can build your own dynamic relative path ;-)

Ah... my mistake.  I don't have the document root, I have the 
applications document root, which may or may not be the same as the web 
server's document root.  durn it all!

and the CGI scope doesn't seem to contain the web server's document 
root.  At least, not on all servers.   (In particular, the server I just 
tried it on doesn't contain any data for CGI.DOCUMENT_ROOT)

  - Rick




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205403
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to