Date: 08/21/01
- Next message: Richard Lynch: "[PHP] Re: Help me on server."
- Previous message: Richard Lynch: "[PHP] Re: register_globals odd behaviour?"
- In reply to: Brian Curtis: "[PHP] $PATH_INFO strangeness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Produces the result (among everything else):
> HTTP_SERVER_VARS["PATH_INFO"]: /foo/bar
>
> However, an <? echo "Path info: $PATH_INFO"; ?> produces an empty
> result. Same with $HTTP_SERVER_VARS["PATH_INFO"].
That's crazy...
You're not doing this inside a function and forgetting:
global $PATH_INFO
are you?
OH -- You also aren't having short_tags off, so <? just goes to the browser
as an uninterpreted HTML tag are you? Use <?php *ALWAYS*.
> Scenario 2 (a & b):
> Running a) Apache 1.3.12 on WIN2K w/ PHP 4.0.6 (cgi binary) or
> b) Apache 1.3.12 on Linux with PHP 4.0.4pl1 (cgi binary)
>
> Calling test.php/foo/bar with the contents:
> <? phpinfo(); ?>
>
> Produces a 500 internal server error.
Most likely, you aren't using Alias and Action properly, and Apache is
looking for a file named "test.php/foo/bar" but can't find it, but knows it
should feed it to PHP, and is getting very confused. What do your Apache
error logs say?
-- WARNING richard <email protected> address is an endangered species -- Use ceo <email protected> Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "[PHP] Re: Help me on server."
- Previous message: Richard Lynch: "[PHP] Re: register_globals odd behaviour?"
- In reply to: Brian Curtis: "[PHP] $PATH_INFO strangeness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

