cacert-codedocs/source/globals.rst
Karl-Heinz Gödderz (GuKKDevel) c22dc42e94 added global variables into doctree
2018-11-30 10:33:03 +01:00

1.5 KiB

scripts

PHP

Global Variables

As the modules this website includes have to communicate together there are some global variables defined as arrays

$_REQUEST

:php$_REQUEST

$_SERVER

:php$_SERVER

$_SESSION

:php$_SESSION

This global variable defines the status of the database connection

  • TRUE if a connection could be established
  • FALSE otherwise

$_SESSION['_config']

:php$_SESSION['_config']

This global variable defines the main CAcert-website

  • "www.cacert.org" for production
  • "test.cacert.org" for testing

This global variable defines the secure CAcert-website

  • "secure.cacert.org" for production
  • " cacert.org" for testing

This global variable defines TVERIFY

  • "tverify.cacert.org" for production
  • " " for testing

checkout what TVERIFY means, check names for test-system