ID:               25448
 User updated by:  david at advisorymatters dot co dot uk
 Reported By:      david at advisorymatters dot co dot uk
-Status:           Feedback
+Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: Windows XP Pro
 PHP Version:      4.3.3
 New Comment:

As far as I can see I have given you ALL the information you need for
this problem! The problem is VERY specific and relates to a SINGLE
variable no longer being filled in properly. You have a script that
demonstrates the problem, you have been told in which releases it works
and in which it doesn't. You have been told what I am using hardware
and software-wise to duplicate the problem. I have now downloaded and
checked the problem against the latest stable CVS release of PHP and it
STILL has the problem.

What else do I have to give you for this? I have read your 'How to
report a bug' page and do not see what else I can add. Please be more
specific.


Previous Comments:
------------------------------------------------------------------------

[2003-09-09 09:47:24] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2003-09-09 06:59:11] david at advisorymatters dot co dot uk

Description:
------------
Running the code (below) on 4.3.2 and above (I've checked it on 4.3.2,
4.3.3RC1 to RC4 and 4.3.3) fails to produce any output. On 4.3.0 and
4.3.1 it works fine.

For testing I am changing over the PHP versions just by renaming the
c:\php dir (from c:\php431, c:\php432, c:\php433-1 etc). Nothing in the
application changes and I am using one common php.ini file for all php
versions, ONLY the php version itself is changed. All PHP versions are
the standard Win32 Binaries with no modifications.

In php.ini register globals are OFF and the only other changes are to
turn a few extensions on (GD and DBX).

I am using the Xitami web server version 2.4d9 from
http://www.xitami.com on a Compaq Evo system (Celeron 1.8MHz, 128MB
RAM, WinXPPro).

I've noticed that this (or similar) bugs have been reported recently
(e.g. #24979) but dismissed by stating that it works with the latest
CVS etc. If this is the case when this bug report is checked then I
would suggest that there is something else going on here that is not
showing up on your test systems. It is ALWAYS reproducible here. Note
that using $_SERVER['SCRIPT_NAME'] DOES work (but my code tends to use
$_SERVER['PHP_SELF'] and why should I change?).



Reproduce code:
---------------
<?php
print "self = " . $_SERVER['PHP_SELF'];
?>

Expected result:
----------------
With the above code in the file test.php in the web server's document
root:

self = /test.php


Actual result:
--------------
self = 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25448&edit=1

Reply via email to