<@APPFILE>
Syntax
<@APPFILE [ENCODING=encoding]>
Description
Returns the path to the current application
file, including the file name. This meta tag is useful for creating
links that reference the current application file. The path returned
is always relative to the Web server root directory.
Note:
This meta tag is often used
to create URLs, for example, in the HREF attribute of an anchor tag in
HTML. To make sure that the meta tag returns a properly encoded value,
you can use one of the following:
<@APPFILE ENCODING="URL">
<@URLENCODE STR="<@APPFILE>">
Example
<A HREF="<@CGI><@APPFILE>?conf=<@COLUMN
NAME=
'conferences.conf_id'>&function=messages">
<@COLUMN NAME="conferences.conf_name"> Messages </A>
This example specifies a link to the
current application file.
See Also
<@APPFILEPATH>
<@CGI>
Encoding Attribute
<@URLENCODE>
|