php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19925 Apache2 Filter
Submitted: 2002-10-15 16:46 UTC Modified: 2002-10-15 23:05 UTC
From: pglobal at pglobal dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: Win XP Pro
Private report: No CVE-ID: None
 [2002-10-15 16:46 UTC] pglobal at pglobal dot net
When I try to start apache (2.0.43) with the module php4apache2.dll loaded it doesn't allow apache to start, I've tried to install php 4.24-dev and aparently it works but when I try a script like this one:
<?
$dp = str_replace(basename($PHP_SELF), '', $_SERVER['PATH_TRANSLATED']);
echo $dp;
?>
it simply doen't gives any result.

Thanks
LD

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-15 23:05 UTC] sniper@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.


$PHP_SELF is found in $_SERVER like 'PATH_TRANSLATED' is..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC