ID: 42558 Updated by: [EMAIL PROTECTED] Reported By: james dot hayward at egg dot com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 2003 PHP Version: 5.2.4 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. And this is already fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2007-09-05 09:55:18] james dot hayward at egg dot com Description: ------------ The script name seems to be reproduced twice in the environment variable $_SERVER['PHP_SELF']. I'm afraid I don't have access to the server (work machine) so I cannot test the latest CVS snapshot. $_SERVER['SCRIPT_NAME'] is showing correctly. Reproduce code: --------------- this can be shown with just: <?php phpinfo(); ?> Expected result: ---------------- when this is on: http://intranet/teams/training_development/phpinfo.php I would expect $_SERVER['PHP_SELF'] == /teams/training_development/phpinfo.php Actual result: -------------- $_SERVER['PHP_SELF'] == /teams/training_development/phpinfo.php/teams/training_development/phpinfo.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42558&edit=1