Skip to main content
Participant
October 9, 2008
Answered

get current filename or url

  • October 9, 2008
  • 1 reply
  • 334 views
Hello Everyone,

is there a function that retreives your current filename?
I would like to be able to know the name of the cfm file i'm visiting, without the rest of the folder structure.

Thanks for any info!
This topic has been closed for replies.
Correct answer Newsgroup_User
#getfilefrompath(cgi.script_name)#

query string, if you need it, is available in #cgi.query_string#

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

1 reply

Newsgroup_UserCorrect answer
Inspiring
October 9, 2008
#getfilefrompath(cgi.script_name)#

query string, if you need it, is available in #cgi.query_string#

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/