ID:               23610
 Updated by:       [EMAIL PROTECTED]
-Summary:          PATH_TRANSLATED is EMPTY
 Reported By:      support at sensvirtuel dot com
-Status:           Closed
+Status:           Open
 Bug Type:         Documentation problem
 Operating System: Linux (redhat 8.0)
-PHP Version:      4.3.1
+PHP Version:      4.3.2
 New Comment:

Agreed, especially since this change took place in PHP 4.3.2 and not
PHP 5.0.0.  Should that note be removed from the migration5 docs?

I added a note within the PATH_TRANSLATED docs, updated the note in
ref.apache, and replaced PATH_TRANSLATED with SCRIPT_FILENAME in the
highlight_file() example.  Thank you Kevin for the report.

There is another open bug report out there that requests every BC break
to be documented...like this one.  Once done, this information will be
added there as well.


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

[2004-08-26 21:01:37] phpbugs at kevin dot offwhite dot net

I just spent a good amount of time trying to figure out why
PATH_TRANSLATED suddenly stopped working on me.  Therefore I think you
still have a couple documentation issues regarding this.

1) The first place I looked, and the first place I would suspect other
people would look, to see if the variable stopped being supported at a
certain revision is:
http://us3.php.net/reserved.variables

2) The example code for highlight_file() should be changed to not use
the non-existant PATH_TRANSLATED variable:
http://us4.php.net/highlight_file

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

[2004-04-19 16:52:34] [EMAIL PROTECTED]

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

This was already in the migration from PHP 4 to PHP 5 appendice.
I've just copied the note to the apache function reference.

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

[2004-04-18 01:03:47] [EMAIL PROTECTED]

No, read the other comments. Resetting this to a Documentation problem,
which it is.

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

[2004-04-17 21:39:46] [EMAIL PROTECTED]

Is there any chance to implement it? Some old scripts may rely on this
feature, including REDIRECT_URL (used in phpdoc's livedocs).

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

[2003-06-19 08:41:07] fillmore at nrcan dot gc dot ca

We recently upgraded PHP from 4.3.0 to 4.3.2, and some of
our scripts are now broken because they use PATH_TRANSLATED
to compute the document root directory of the web site,
but PATH_TRANSLATED is now empty.  Is there another reliable
method to find the document root?
We are running the NSAPI version of PHP on iPlanet 
Web Server 6.0.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/23610

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

Reply via email to