note 60074 added to function.getenv
| From: | webmaster at rephunter dot net | Date: | Sun, 25 Dec 2005 04:35:05 +0000 |
| Subject: | note 60074 added to function.getenv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100677@lists.php.net to get a copy of this message | ||
It appears that the post by admin on 08-Dec-05 has a typo near the end. In the nested if statement,
both the first and fourth branches appear to have the same condition: HTTP_X_FORWARDED. Unless
there are some side effects going on that I am not aware of, I believe that a different fourth case
should be tested.
----
Manual Page -- http://www.php.net/manual/en/function.getenv.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60074
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60074&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60074&report=yes
Search -- http://master.php.net/manage/user-notes.php