House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Cgi script name

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Cgi.script_name

I think that works... there's also S. Isaac Dealey 07/13/2003 11:43 PM
Yep, works. hadn't thought of that one. Mark Leder 07/13/2003 08:00 PM
How about getdirectoryfrompath(cgi.script_name) ? Matthew Walker 07/13/2003 07:54 PM
Hi all, Mark Leder 07/13/2003 07:52 PM

07/13/2003 11:43 PM
Author: S. Isaac Dealey Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:25448#128155 I think that works... there's also rereplace(cgi.script_name,"(.*/).*","\1") ----- Excess quoted text cut - see Original Post for more ----- s. isaac dealey                972-490-6624 new epoch                      http://www.turnkey.to lead architect, tapestry cms   http://products.turnkey.to tapestry api is opensource     http://www.turnkey.to/tapi team macromedia volunteer      http://www.macromedia.com/go/team certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816
07/13/2003 08:00 PM
Author: Mark Leder Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:25448#128149 Yep, works. hadn't thought of that one. Thanks, Mark How about getdirectoryfrompath(cgi.script_name) ? ----- Excess quoted text cut - see Original Post for more -----
07/13/2003 07:54 PM
Author: Matthew Walker Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:25448#128148 How about getdirectoryfrompath(cgi.script_name) ? ----- Excess quoted text cut - see Original Post for more -----
07/13/2003 07:52 PM
Author: Mark Leder Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:25448#128147 Hi all, I have a cgi.script_name output as /contact/default.cfm How do I strip the characters after the last "/" so I can place in a var as "/contact/" and use for further processing? Thanks, Mark
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference