9 CGI Support library
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • CGI Support library
          • cgi_get_form/1
          • Some considerations
Availability::- use_module(library(cgi)).(can be autoloaded)
cgi_get_form(-Form)
Decodes standard input and the environment variables to obtain a list of arguments passed to the CGI script. This predicate both deals with the CGI GET method as well as the POST method. If the data cannot be obtained, an existence_error exception is raised.