docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 5.1Web Developer ManualIf Tags
Copyright  2013, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<else>
<elseif>
<false>
<if>
<if accept>
<if client>
<if clientvar>
<if config>
<if cookie>
<if date>
<if defined>
<if domain>
<if exists>
<if expr>
<if false>
<if group>
<if internal-exists>
<if ip>
<if kerberos-auth>
<if language>
<if match>
<if Match>
<if module>
<if pragma>
<if prestate>
<if referrer>
<if sizeof>
<if supports>
<if time>
<if true>
<if type-from-data>
<if type-from-filename>
<if user>
<if variable>
<if Variable>
<then>
<true>

<if internal-exists></if>

Provided by module: Tags: RXML tags

Returns true if the named page exists. If the page at the given path is nonviewable, e.g. matches the internal files patterns in the filesystem module, it will still be detected by this if plugin. If the path does not begin with /, it is assumed to be a URL relative to the directory containing the page with the if statement. 'Magic' files like /internal-roxen-unit will evaluate as true. This is a State plugin.


Attributes

internal-exists="path"

Choose what path in the virtual filesystem to test.