ID: 15714 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Critical +Status: Assigned Bug Type: Documentation problem PHP Version: 4.1.1 Assigned To: philip New Comment:
Fix status so that philip gets reminders again Previous Comments: ------------------------------------------------------------------------ [2002-06-20 12:42:13] [EMAIL PROTECTED] This is critical, I'm working on this until done. Sorry for the delay. ------------------------------------------------------------------------ [2002-06-17 14:49:37] [EMAIL PROTECTED] fixed on language.variables.predefined.php but not language.variables.external.php ------------------------------------------------------------------------ [2002-05-30 11:12:04] [EMAIL PROTECTED] Okay, time for a rewrite. ------------------------------------------------------------------------ [2002-02-25 11:23:07] [EMAIL PROTECTED] The manual page "Variables from outside PHP" (language.variables.external.php), under "HTML Forms (GET and POST)", doesn't mention the new $_* arrays, nor that track_vars is now always on. I suggest revision to read something like the following: "When a form is submitted to a PHP script, any variables from that form will be automatically made available to the script by PHP. If the track_vars configuration option is turned on (always, as of version 4.0.3), then these variables will be located in the associative arrays $HTTP_POST_VARS, $HTTP_GET_VARS, and/or $HTTP_POST_FILES, according to the source of the variable in question. From version 4.1.0 onward, they will also be in the new superglobal arrays $_POST, $_GET and $_FILES; POST and GET values will also be in the composite array $_REQUEST. "For more information on these variables, please read Predefined variables. [Example 7-1 snipped] "When the above form is submitted, the value from the text input will be available in $HTTP_POST_VARS['username'] and, from version 4.1.0, $_POST['username'] and $_REQUEST['username']. If the register_globals configuration directive is turned on, then the variable will also be available as $username in the global scope." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15714&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
