« Developing Flash Apps for the Sony CLIE (part II) | Main | Pretty Impressed With JEdit »
January 22, 2004
PATH Variable in ColdFusion
I just stumbled across the fact that the ColdFusion variable #path# refers to my system path, which I think is strange. I wonder if the purpose is to assist CFEXECUTE in finding executables. Anyone know? Any other variables like that which are not commonly known? I tried other environment variables, but #path# was the only one defined.
Update:
I should have mentioned that I'm running CFMX 6.1 on OS X with Apache. Anyone seeing this with any other configurations?
Posted by cantrell at January 22, 2004 07:03 PM | References
Comments
Chris,
I just attemted this on the standalone 6.1 install on XP Pro and #path# isn't defined. What install and OS are you on? Wierd.
Posted by: rob at January 22, 2004 07:55 PM
CFMX 6.1 on OS X. Strange indeed.
Christian
Posted by: Christian Cantrell at January 22, 2004 11:16 PM
Just for general information...
Does on mine too
6.1 Apache Xp Pro
Posted by: Robby at January 23, 2004 05:43 AM
Might want to see if it is in the CGI scope. We ran into a new CGI variable in MX named version. It returned something like HTTP 1.1 or something. Anyway it was messing up some old code that was checking for existence of the unscoped variable "version".
Posted by: Steve House at January 23, 2004 08:35 AM
I tried, cgi, server, etc. didn't work. I am not running off Apache or IIS and everyone else seems to be so I am thinking that that has something to do with it.
Posted by: rob at January 23, 2004 11:38 AM
Running #path# returns error, running #cgi.path# returns blank screen, nothing in source. IIS 5 CFMX6.1
Posted by: Bryan F. Hogan at January 23, 2004 01:11 PM
There are a bunch. "temp" used to be a "phantom" variable - not sure if they fixed it yet.
Posted by: Roland Collins at January 30, 2004 05:03 PM