Answered
Get value from CGI string
I have cgi.path_info that is always formatted like this
/data/show/80865
How do I get the ALWAYS numeric value after show/
For example, in this case, I want to get the 80865 value.
I have cgi.path_info that is always formatted like this
/data/show/80865
How do I get the ALWAYS numeric value after show/
For example, in this case, I want to get the 80865 value.
This can easily be done, if you treat the value as a list with / being the delimiter.
<cfset variables.thisNumber = ListLast(cgi.path_info,'/') />
HTH,
^ _ ^
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.