#11280 [Com]: Parser cannot read network file paths
| From: | fucking-thumbs1503 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:05:28 +0000 |
| Subject: | #11280 [Com]: Parser cannot read network file paths | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62945@lists.php.net to get a copy of this message | ||
ID: 11280
Comment by: fucking-thumbs1503 at hotmail dot com
Reported By: memag at mediaone dot net
Status: Closed
Bug Type: *Directory/Filesystem functions
Operating System: Win32
PHP Version: 4.0.4pl1
New Comment:
<a href=http://a4-medical-pantyfuc.da.ru>thumbs
fucking</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-05 00:05:40] sniper@php.net
This is fixed in PHP 4.0.6 (in RC2 atm).
In the meantime you can get binary builds of PHP 4.0.7-dev here:
http://www.zend.com/snapshots/
So just wait until 4.0.6 is released.
--Jani
------------------------------------------------------------------------
[2001-06-04 23:10:30] memag at mediaone dot net
Network file paths such as "//computer/path/to/file.php" cannot be read
using PHP file access functions, or parsed by the PHP interpreter. When
attempting to parse PHP files located in remote directories the
interpreter returns a warning like the following:
Warning: Failed opening '//computer/path/to/file.php' for inclusion
(include_path='.') in Unknown on line 0
Warning: Failed opening '//computer/path/to/file.php' for inclusion
(include_path='.') in Unknown on line 0
file.php contains
<?php echo 'test'; ?>
Attempting to access the network file using
<?php fopen('//computer/path/to/file.php','r'); ?>
returns the following warning:
Warning: fopen("//computer/path/to/file.php","r") - No such file or
directory in f:/webpages/pub/a/test.php on line 1
This indicates that, while Apache is able to access this file, PHP is
not able to parse it, or, in fact, access any network files in this
manner.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11280&edit=1