#19925 [Opn->Bgs]: Apache2 Filter

From: Date: Wed, 16 Oct 2002 04:05:12 +0000
Subject: #19925 [Opn->Bgs]: Apache2 Filter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22537@lists.php.net to get a copy of this message
ID: 19925 Updated by: sniper@php.net Reported By: pglobal@pglobal.net -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Win XP Pro PHP Version: 4.2.3 New Comment: 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.. Previous Comments: ------------------------------------------------------------------------ [2002-10-15 16:46:18] pglobal@pglobal.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19925&edit=1

« previous php.bugs (#22537) next »