cgilink(
DATABASE
,
SUFFIX
,
CAPTION
)

The cgilink( function creates a domain independent URL for another CGI action on the same server.


Parameters

This function has three parameters:

database – name of the database for the target URL. If "" then this is another procedure in the current database.

suffix – the rest of the URL, in other words, everything after the first ~.

caption – the caption for the URL. This is the text that the user will see on their web browser.


Description

This function is designed to be used in a CGI routine to create a domain independent URL for another CGI action on the same server. In other words, the link will continue to work even if the server’s domain (or IP address) changes, or if the database is copied to a different server. The end result is a complete <a> tag that can be inserted into the HTML being generated by the current CGI procedure.

cgilink("Catalog","Entry Form~Item=F7A","Edit Record")
    ☞ <a href="http://site.com/cgi-bin/Panorama.cgi?Catalog~Entry%20Form~Item=F7A">Edit Record</a>

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0