php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13338 readfile doesn't work correctly with WIndows XP
Submitted: 2001-09-17 05:32 UTC Modified: 2002-05-29 08:52 UTC
From: schaefer at jobpilot dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.1.1 OS: Windows XP (Professional)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: schaefer at jobpilot dot com
New email:
PHP Version: OS:

 

 [2001-09-17 05:32 UTC] schaefer at jobpilot dot com
Hi,

between version 4.0.4 and 4.0.5 the setting of the PATH_TRANSLATED variable changed. In version
4.0.4, the following URL

http://www1.jobpilot.de/test.phtml/bla/fasel

resulted in the following PATH_TRANSLATED value:

/JobsAdverts/OnlineServer/web/de/test.phtml

(which is the correct script file name).

in 4.0.5, the same URL results in the following value:

/JobsAdverts/OnlineServer/web/de/bla/fasel

which does not look right. According to the documentation, PATH_TRANSLATED is the "Filesystem- (not document root-) based path to the current script, after the server has done any virtual-to-real mapping. "

BTW. the documentation should make it clear what is the difference between PATH_TRANSLATED and SCRIPT_FILENAME - from to the current explanation, I don't understand it.

BTW we are using Apache 1.3.12.

Best Regards,

Arno Schaefer

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-21 18:47 UTC] mfischer@php.net
Can you try latest RC and see if the problem still exists

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

Feedback.

 [2001-11-28 07:59 UTC] schaefer at jobpilot dot com
Yes, the problem still exists:


URL: http://luna.int.hq.jobpilot:8000/test.phtml/bla/fasel

PHP Version: 4.1.0RC3
Zend Version: 1.1.0
PATH_TRANSLATED: /JobsAdverts/OnlineServer/web/de/bla/fasel

Regards,

Arno

 [2002-05-29 08:52 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC