Date: 12/30/00
- Next message: Stig Venaas: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8003 Updated: Document contained no data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sorry, I think your first email got lost somewhere - this still doesn't work
(4.0.4). To clarify:
http://localhost/index.php - php logo is http://localhost/index.php?=PHP...
http://localhost/index.php/pathinfo - php logo is
http://localhost/pathinfo?=PHP...
It seems that PHP is using lpszPathInfo (from the EXTENSION_CONTROL_BLOCK)
to build the path, rather than getting SCRIPT_NAME via a call to
GetServerVariable. Since lpszPathInfo defaults to SCRIPT_NAME when there's
no real path info (path info disabled by default for IIS), this works on
IIS, but for servers that support path info properly it breaks.
-C
----- Original Message -----
From: "Bug Database" <php-dev <email protected>>
To: <charles <email protected>>
Sent: Saturday, December 30, 2000 4:56 PM
Subject: PHP 4.0 Bug #6115 Updated: phpinfo() uses wrong variable
> ID: 6115
> Updated by: sniper
> Reported By: charles <email protected>
> Old-Status: Feedback
> Status: Closed
> Old-Bug Type: *General Issues
> Bug Type: PHP options/info functions
> Assigned To:
> Comments:
>
> No feedback, considered fixed in > 4.0.1pl2.
>
> --Jani
>
> Previous Comments:
> --------------------------------------------------------------------------
-
>
> [2000-11-20 09:13:18] jmoore <email protected>
> phpinfo() on isapi seems to work fine for me. Please update and give
feedback if this still happens
>
> James
>
> --------------------------------------------------------------------------
-
>
> [2000-08-12 01:13:03] charles <email protected>
> phpinfo() uses the value of PATH_INFO to build the path for the images.
IIS doesn't support PATH_INFO without a reg-hack, but other servers do. PHP
should be using SCRIPT_NAME instead. This applies to the ISAPI extension;
I've not tested the CGI version.
>
> --------------------------------------------------------------------------
-
>
>
> Full Bug description available at: http://bugs.php.net/?id=6115
>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stig Venaas: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8003 Updated: Document contained no data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

