[TOC] [Prev] [Next] [Bottom]



<@CGIPATH>

Description

Mac OS Only

Mac OS

Returns the path to the directory containing the Tango CGI. The final slash is not included in the value. For example, if the Tango Server CGI is in a directory called Tango at the Web server root level, then <@CGIPATH> evaluates to /Tango.

If you have the Tango CGI at the root directory of the Web server, or are running the plug-in version of Tango Server, this meta tag returns an empty string.

This meta tag is supported mainly for backward compatibility with existing applications. For greater compatibility with the plug-in and other platform versions of Tango, Pervasive strongly recommends that the CGI, if being used, be located in the Web server's document root directory.


!Note: This meta tag returns a value only when using Tango CGI on the Mac OS. On other platforms, and for Tango Server plug-in on Mac OS, this meta tag evaluates to an empty string.


Example

<IMG SRC="<@CGIPATH><@APPFILEPATH>logo.gif">

This example returns a reference the logo.gif file, located in the same directory as the currently executing application file.

See Also

<@APPFILE>
<@APPFILEPATH>
<@CGI>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.