diff --git a/chapters/install.commandline.xml b/chapters/install.commandline.xml index 01bd2ff6b0..339923f3f8 100644 --- a/chapters/install.commandline.xml +++ b/chapters/install.commandline.xml @@ -1,5 +1,5 @@ - + Servers-CGI/Commandline @@ -56,18 +56,19 @@ Using Variables - Some server supplied environment variables are not defined in the + Some server supplied + environment variables are not defined in the current CGI/1.1 specification. Only the following variables are defined there; everything else - should be treated as 'vendor extensions': $AUTH_TYPE, - $CONTENT_LENGTH, $CONTENT_TYPE, - $GATEWAY_INTERFACE, $PATH_INFO, - $PATH_TRANSLATED, $QUERY_STRING, - $REMOTE_ADDR, $REMOTE_HOST, - $REMOTE_IDENT, $REMOTE_USER, - $REQUEST_METHOD, $SCRIPT_NAME, - $SERVER_NAME, $SERVER_PORT, - $SERVER_PROTOCOL, and $SERVER_SOFTWARE + should be treated as 'vendor extensions': AUTH_TYPE, + CONTENT_LENGTH, CONTENT_TYPE, + GATEWAY_INTERFACE, PATH_INFO, + PATH_TRANSLATED, QUERY_STRING, + REMOTE_ADDR, REMOTE_HOST, + REMOTE_IDENT, REMOTE_USER, + REQUEST_METHOD, SCRIPT_NAME, + SERVER_NAME, SERVER_PORT, + SERVER_PROTOCOL, and SERVER_SOFTWARE diff --git a/chapters/install.windows.xml b/chapters/install.windows.xml index f5c2c5fbc2..bcb1568593 100644 --- a/chapters/install.windows.xml +++ b/chapters/install.windows.xml @@ -1,5 +1,5 @@ - + Installation on Windows systems @@ -233,7 +233,7 @@ c:\php webserver loads the dll (e.g. php4apache.dll). - Any directory in your Windows $PATH environment variable. + Any directory in your Windows PATH environment variable. @@ -784,7 +784,7 @@ extension=php_bz2.dll (php_oci8.dll) require DLLs which are not bundled with the distribution package. Copy the bundled DLLs from c:\php\dlls folder to your Windows - $PATH, safe places are: + PATH, safe places are: c:\windows\system for Windows 9x/Me c:\winnt\system32 for Windows NT/2000 diff --git a/features/http-auth.xml b/features/http-auth.xml index b2bc1c136d..859b6358bd 100644 --- a/features/http-auth.xml +++ b/features/http-auth.xml @@ -1,5 +1,5 @@ - + HTTP authentication with PHP @@ -12,8 +12,8 @@ input window. Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the predefined variables - $PHP_AUTH_USER, $PHP_AUTH_PW, - and $AUTH_TYPE set to the user name, password and + PHP_AUTH_USER, PHP_AUTH_PW, + and AUTH_TYPE set to the user name, password and authentication type respectively. These predefined variables are found in the $_SERVER and $HTTP_SERVER_VARS arrays. Only "Basic" authentication @@ -68,8 +68,8 @@ - Instead of simply printing out $PHP_AUTH_USER - and $PHP_AUTH_PW, as done in the above example, + Instead of simply printing out PHP_AUTH_USER + and PHP_AUTH_PW, as done in the above example, you may want to check the username and password for validity. Perhaps by sending a query to a database, or by looking up the user in a dbm file.