CGIURLAdapt
20 Mar 2010 08:13 UTC 2010079+0813 UTC

NAME

PDB::CGIURLAdapt() - Creates an adaptive URL reference to a CGI script based on the URL of the calling script.

SYNOPSIS

    $url = PDB::CGIURLAdapt($scriptName)

DESCRIPTION

PDB::CGIURLAdapt takes as input the name of a cgi script (without the .cgi extension) and generates a URL that properly references that script. If the calling script was referenced with a .cgi extension, it adds the calling scripts' URL directory path and a .cgi extension to the script name. Otherwise, it returns a reference to the program from the server's URL root.


DNRDocs.SoftwareDocumentation

Page last modified on September 29, 2005, at 09:28 PM